MemoryStackCache Class

Memory stack cache strategy.

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 class MemoryStackCache : BaseCache
Inheritance
Object    BaseCache    MemoryStackCache

Constructors

MemoryStackCache Creates new MemoryStackCache instance with a given size. Default cache size is 20 entries.

Methods

Contains Checks if given key is present in cache.
(Overrides BaseCacheContains(String))
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetT Gets the value assigned to a given key and casts it to T.
(Overrides BaseCacheGetT(String))
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Put Adds a new value under the given key to cache.
(Overrides BaseCachePut(String, Object))
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryGetT Tries to get the value assigned to a given key.
(Inherited from BaseCache)

Extension Methods

See Also