Base interface for object caches
Namespace: Scanjour.Workflow4.Base.Cache
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 23.3.0.0 (23.3.0.0)
Syntax
The IObjectCacheBase type exposes the following members.
Properties
Name | Description | |
---|---|---|
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
|
Methods
Name | Description | |
---|---|---|
Clear |
Method that will empty the cache and free up all memory allocated.
|
See Also