Name | Description | |
---|---|---|
![]() | MemoryCacheProvider Constructor | Default constructor. The DefaultExpirationInMinutes is 20 |
The following tables list the members exposed by MemoryCacheProvider.
Name | Description | |
---|---|---|
![]() | MemoryCacheProvider Constructor | Default constructor. The DefaultExpirationInMinutes is 20 |
Name | Description | |
---|---|---|
![]() | DefaultCacheCapabilities | Overridden. Get the capabilities of the memory cache |
![]() | DefaultExpirationInMinutes | Gets or sets the maximum minutes for a cache item to expire. It must be greater than zero. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |
![]() | EncryptionKey | The Encryption Key (password) to use when encrypting data (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |
![]() | IsCompressed | If true, the data is compressed before it is saved and decompressed upon load. The default is false. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |
![]() | IsDisposed | Overridden. 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. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |
![]() | MaxCacheItems | Overridden. The maximum number of cache items to store in memory. The default is Int64.MaxValue |
![]() | MaxMegabytes | Overridden. The maximum number of megabytes of memory to use for each memory cache region. The default is 10 megabytes |
![]() | Name | Overridden. The name of the cache provider |
![]() | ScavengingTypeOption | Determines what priority to scavenge items from the cache. The default is Oldest. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |
Name | Description | |
---|---|---|
![]() | Add | Overloaded. Inserts a cache entry into the cache without overwriting any existing cache entry. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |
![]() | 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. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |
![]() | ClearAll | Overridden. Clear all items in the cache for all regions |
![]() | ClearRegion | Overridden. Clear all the cache for a region |
![]() | Contains | Overridden. Check whether the cache entry already exists in the cache. |
![]() | CreateCacheEntryChangeMonitor | Overridden. Create cache entry change monitor |
![]() | Dispose | Overridden. Disposes this instance. |
![]() | Get<T> | Overridden. 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. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |
![]() | GetCount | Overridden. Gets the total number of cache entries in the cache for the specified region. |
![]() | GetKeys | Overridden. Get a list of the Keys associated with the region. |
![]() | GetRegions | Overridden. Get a list of the current regions |
![]() | GetTotalCount | Overridden. Get the count of all the items in all the regions |
![]() | Remove<T> | Overridden. Removes the cache entry from the cache. |
![]() | Set | Overloaded. Overridden. 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. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |
![]() | GetRegion | Get the Default region if null is passed in (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |
![]() | Serialize<T> | Serialize an object. Also compress and encrypt if it is turned on (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |