IObjectCacheBase Interface

Scanjour Workflow4 Reference Manual
Base interface for object caches

Namespace:  Scanjour.Workflow4.Base.Cache
Assembly:  Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 23.1.0.0 (23.1.0.0)
Syntax

public interface IObjectCacheBase

The IObjectCacheBase type exposes the following members.

Properties

  NameDescription
Public propertyHashAlgorithm
Get or set the hashalgoritm for the cache. The default value is MD5. To turn off hashing set the value to HashAlgorithmEnum.None
Public propertyHighWaterMark
Max bytes allocated for objects in the cache.
Public propertyLowWaterMark
When cache grows to HighWaterMark objects will be removed from the cache until the total size is less than LowWaterMark.
Public propertyNrOfItems
The number of items currently in the cache
Public propertyTotalSize
Total size of all stored objects in cache
Public propertyTypeName
The name of the type that is cached
Top
Methods

  NameDescription
Public methodClear
Method that will empty the cache and free up all memory allocated.
Top
See Also

Reference