![]() |
Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.7
|
Leadtools.Caching Assembly > Leadtools.Caching Namespace : ObjectCache Class |
The following tables list the members exposed by ObjectCache.
Name | Description | |
---|---|---|
![]() ![]() | InfiniteAbsoluteExpiration | Value that indicates that a cache entry has no absolute expiration. ![]() ![]() |
![]() ![]() | NoSlidingExpiration | Value that indicates that a cache entry has no sliding expiration. ![]() ![]() |
Name | Description | |
---|---|---|
![]() | DataSerializationMode | Determines the type of serialization to use when the data is saved into the cache. ![]() ![]() |
![]() | DefaultCacheCapabilities | The capabilities of this cache ![]() ![]() |
![]() | Item | The cache item. ![]() ![]() |
![]() | Name | Unique name of this cache object ![]() ![]() |
![]() | PolicySerializationMode | Determines the type of serialization to use when the policy is saved into the cache. ![]() ![]() |
Name | Description | |
---|---|---|
![]() | Add | Overloaded. Adds a new item into the cache using the default region ![]() |
![]() | AddOrGetExisting | Overloaded. Adds a cache entry into the cache, and returns an existing cache entry with a matching key. ![]() |
![]() | Contains | Checks whether the specified cache entry exists in the cache. ![]() ![]() |
![]() ![]() | CopyCacheItemPolicy | Creates a copy of a cache policy. ![]() ![]() |
![]() | DeleteItem | Deletes the specified item from the cache. ![]() ![]() |
![]() | DeleteRegion | Deletes the specified region and all its data. ![]() ![]() |
![]() | EnumerateKeys | Enumerates all the items in a region. ![]() ![]() |
![]() | EnumerateRegions | Enumerates all the regions in this cache. ![]() ![]() |
![]() | Get | Overloaded. Value of the specified cache entry. ![]() |
![]() | GetCacheItem | Overloaded. Specified cache entry from the cache. ![]() |
![]() | GetCount | Total number of cache entries in the cache. ![]() ![]() |
![]() | GetStatistics | Overloaded. Returns a snapshot of the number of all items in the cache. ![]() ![]() |
![]() | GetValues | Cache entries that correspond the specified keys. ![]() ![]() |
![]() ![]() | IsInfinite | Determines whether the specified time span is an infinite value. ![]() ![]() |
![]() | Remove | Overloaded. Removes an entry from the cache. ![]() |
![]() | Set | Overloaded. Adds an item into the cache. ![]() |
Name | Description | |
---|---|---|
![]() | GetEnumerator | Creates an enumerator that can be used to iterate through a collection of cache entries. ![]() |
![]() | OnCacheItemExpired | Raises the CacheItemExpired event. ![]() |
![]() | OnCacheItemExpiring | Raises the CacheItemExpiring event. ![]() |
Name | Description | |
---|---|---|
![]() | CacheItemExpired | Occurs when an expited item has been removed from the cache. ![]() ![]() |
![]() | CacheItemExpiring | Occurs when an item has expired and is about to be removed from the cache. ![]() ![]() |