Name | Description | |
---|---|---|
![]() ![]() | InfiniteAbsoluteExpiration | Gets a value that indicates that a cache entry has no absolute expiration. |
![]() | Megabyte | Bytes in a megabyte |
![]() ![]() | NoSlidingExpiration | Indicates that a cache entry has no sliding expiration time. |
The following tables list the members exposed by BaseCacheProvider.
Name | Description | |
---|---|---|
![]() ![]() | InfiniteAbsoluteExpiration | Gets a value that indicates that a cache entry has no absolute expiration. |
![]() | Megabyte | Bytes in a megabyte |
![]() ![]() | NoSlidingExpiration | Indicates that a cache entry has no sliding expiration time. |
Name | Description | |
---|---|---|
![]() | DefaultCacheCapabilities | Gets a description of the features that a cache implementation provides. |
![]() | DefaultExpirationInMinutes | Gets or sets the maximum minutes for a cache item to expire. It must be greater than zero. |
![]() | EncryptionKey | The Encryption Key (password) to use when encrypting data |
![]() | IsCompressed | If true, the data is compressed before it is saved and decompressed upon load. The default is false. |
![]() | IsDisposed | Gets or sets a value indicating whether this instance is disposed. |
![]() | IsEncrypted | If true, the data is encrypted before it is saved and decrypted upon load. The default is false. |
![]() | MaxCacheItems | Get or set the maximim number of cache items for the cache provider |
![]() | MaxMegabytes | Get or set the maximim size in Megabytes for the cache provider |
![]() | Name | Gets the name of a specific cache instance. |
![]() | ScavengingTypeOption | Determines what priority to scavenge items from the cache. The default is Oldest. |
Name | Description | |
---|---|---|
![]() | Add | Overloaded. Inserts a cache entry into the cache without overwriting any existing cache entry. |
![]() | AddOrGetExisting | Overloaded. Inserts a cache entry into the cache, by using a key, an object for the cache entry, an absolute expiration value, and an optional region to add the cache into. |
![]() | ClearAll | Clear all the cache for all regions |
![]() | ClearRegion | Clear all the cache for a region |
![]() | Contains | Check whether the cache entry already exists in the cache. |
![]() | CreateCacheEntryChangeMonitor | Create a System.Runtime.Caching.CacheEntryChangeMonitor object that can trigger events in response to changes to specified cache entries. |
![]() | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
![]() | Get<T> | Gets the specified cache entry from the cache as an object. |
![]() | GetCacheItem<T> | Gets the specified cache entry from the cache as a System.Runtime.Caching.CacheItem instance. |
![]() | GetCount | Gets the total number of cache entries in the cache. |
![]() | GetKeys | Get a list of the Keys associated with the region. |
![]() | GetRegions | Get a list of the current regions |
![]() | GetTotalCount | Get the count of all the items in all the regions |
![]() | Remove<T> | Removes the cache entry from the cache. |
![]() | Set | Overloaded. Inserts or update the cache entry in the cache as a System.Runtime.Caching.CacheItem instance, specifying information about how the entry will be evicted. |
Name | Description | |
---|---|---|
![]() | Deserialize<T> | Deserialize an object. Also decrypt and de-compress if turned on. |
![]() | GetRegion | Get the Default region if null is passed in |
![]() | Serialize<T> | Serialize an object. Also compress and encrypt if it is turned on |