Name | Description | |
---|---|---|
![]() | BytesForCacheItemInfo | The bytes for cache item information |
The following tables list the members exposed by BaseDatabaseCacheProvider.
Name | Description | |
---|---|---|
![]() | BytesForCacheItemInfo | The bytes for cache item information |
Name | Description | |
---|---|---|
![]() | CacheTableName | The name of the cache table. The default is SmartCache |
![]() | DefaultCacheCapabilities | Overridden. Get a list of the cache capabilities |
![]() | 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) |
![]() | IsAsyncSetAndRemove | If true, cache items will be saved and removed asynchronously |
![]() | IsBusy | Gets a value indicating whether this instance is busy scavenging. |
![]() | 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 the cache. The default is Int32.MaxValue. |
![]() | MaxMegabytes | Overridden. The maximum number of megabytes for the cache. The default is 50 Megabytes. |
![]() | Name | Gets the name of a specific cache instance. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |
![]() | ScavengingIntervalMilliseconds | How often to check to remove expired items. The default is 60000 milliseconds (1 minute). |
![]() | ScavengingTypeOption | Determines what priority to scavenge items from the cache. The default is Oldest. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |
![]() | ThreadName | The name of the thread that is used when scavenging |
Name | Description | |
---|---|---|
![]() | ConnectionString | The connection string for the database provider |
![]() | DatabaseProvider | Provider of basic CRUD operations |
![]() | TableCreationSql | The SQL to create the caching table |
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. If the database can be packed, it will be packed. |
![]() | ClearRegion | Overridden. Clear all items in the specified region. If the database can be packed, it will be packed. |
![]() | Contains | Overridden. Returns true if the cache item exists in the specified region |
![]() | CreateCacheEntryChangeMonitor | Overridden. The database cache provider does not support Creating Entry Change Monitors |
![]() | Delete | Deletes the specified cache item by key. Used internally by the AsyncProcessor |
![]() | Dispose | Overridden. Dispose the cache provider. Do not allow anything else to be loaded or saved in the cache. |
![]() | Flush | Wait until the passed seconds until the items are saved and removed from the cache |
![]() | Get<T> | Overridden. Get an item from the cache. |
![]() | 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. Get the number of items in the passed region. |
![]() | GetKeys | Overridden. Get the cache keys for the specified region. |
![]() | GetRegions | Overridden. Get a list of regions in the cache |
![]() | GetTotalCount | Overridden. Get the total number of items in the cache |
![]() | Remove<T> | Overridden. Remove an item from the cache |
![]() | Save<T> | Insert or Add a cache item internally used by the AsyncProcessor |
![]() | Scavenge | Perform an immediate removal of expired items from the cache without waiting on the scavenge timer. |
![]() | Set | Overloaded. Overridden. Insert or update an item in the cache |
Name | Description | |
---|---|---|
![]() | CalculateCacheSize | Calculate the cache size |
![]() | CreateDatabaseIfNeeded | Create the database if needed. Default is no database creation is needed. |
![]() | Deserialize<T> | Deserialize an object. Also decrypt and de-compress if turned on. (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |
![]() | GetItemValueCacheSize | Get the size of a cache item |
![]() | GetRegion | Get the Default region if null is passed in (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |
![]() | Initialize | Create the database if needed. Create the cache table if it does not exist. Calculate the cache size. Start the scavenging timer. |
![]() | PackIfPossible | Pack (eliminate free space) in the database if possible |
![]() | PauseProcess | Pause any asynchronous operations |
![]() | ResumeProcess | Resume asynchronous operation |
![]() | Serialize<T> | Serialize an object. Also compress and encrypt if it is turned on (Inherited from KellermanSoftware.NetCachingLibrary.CacheProviders.BaseCacheProvider) |