IObjectCacheBase Interface

Base interface for object caches

Definition

Namespace: Scanjour.Workflow4.Base.Cache
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public interface IObjectCacheBase

Properties

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

Clear Method that will empty the cache and free up all memory allocated.

See Also