NET Caching Library Help
MemoryCacheProvider Class Members
Properties  Methods 


KellermanSoftware.NetCachingLibrary.CacheProviders Namespace : MemoryCacheProvider Class

The following tables list the members exposed by MemoryCacheProvider.

Public Constructors
 NameDescription
Public Constructor Default constructor. The DefaultExpirationInMinutes is 20  
Top
Public Properties
 NameDescription
Public PropertyOverridden.  Get the capabilities of the memory cache  
Public Property Gets or sets the maximum minutes for a cache item to expire. It must be greater than zero. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Public Property The Encryption Key (password) to use when encrypting data (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Public Property If true, the data is compressed before it is saved and decompressed upon load. The default is false. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Public PropertyOverridden.  Gets or sets a value indicating whether this instance is disposed.  
Public Property If true, the data is encrypted before it is saved and decrypted upon load. The default is false. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Public PropertyOverridden.  The maximum number of cache items to store in memory. The default is Int64.MaxValue  
Public PropertyOverridden.  The maximum number of megabytes of memory to use for each memory cache region. The default is 10 megabytes  
Public PropertyOverridden.  The name of the cache provider  
Public Property Determines what priority to scavenge items from the cache. The default is Oldest. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Top
Public Methods
 NameDescription
Public MethodOverloaded.  Inserts a cache entry into the cache without overwriting any existing cache entry. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Public MethodOverloaded.  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)
Public MethodOverridden.  Clear all items in the cache for all regions  
Public MethodOverridden.  Clear all the cache for a region  
Public MethodOverridden.  Check whether the cache entry already exists in the cache.  
Public MethodOverridden.  Create cache entry change monitor  
Public MethodOverridden.  Disposes this instance.  
Public MethodOverridden.  Gets the specified cache entry from the cache as an object.  
Public MethodGets the specified cache entry from the cache as a System.Runtime.Caching.CacheItem instance. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Public MethodOverridden.  Gets the total number of cache entries in the cache for the specified region.  
Public MethodOverridden.  Get a list of the Keys associated with the region.  
Public MethodOverridden.  Get a list of the current regions  
Public MethodOverridden.  Get the count of all the items in all the regions  
Public MethodOverridden.  Removes the cache entry from the cache.  
Public MethodOverloaded. 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.  
Top
Protected Methods
 NameDescription
Protected Method Deserialize an object. Also decrypt and de-compress if turned on. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Protected Method Get the Default region if null is passed in (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Protected Method Serialize an object. Also compress and encrypt if it is turned on (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider)
Top
See Also

Reference

MemoryCacheProvider Class
KellermanSoftware.NetCachingLibrary.CacheProviders Namespace