IObjectCacheBase Interface
Base interface for object caches
Namespace: Scanjour.Workflow4.Base.CacheAssembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
public interface IObjectCacheBase
Public Interface IObjectCacheBase
public interface class IObjectCacheBase
type IObjectCacheBase = interface end
HashAlgorithm |
Get or set the hashalgoritm for the cache. The default value is MD5.
To turn off hashing set the value to HashAlgorithmEnum.None
|
HighWaterMark |
Max bytes allocated for objects in the cache.
|
LowWaterMark |
When cache grows to HighWaterMark objects will be removed from the cache until the total size is less than LowWaterMark.
|
NrOfItems |
The number of items currently in the cache
|
TotalSize |
Total size of all stored objects in cache
|
TypeName |
The name of the type that is cached
|
Clear |
Method that will empty the cache and free up all memory allocated.
|