MemoryStackCache Class

Scanjour Workflow4 Reference Manual
Memory stack cache strategy.
Inheritance Hierarchy

SystemObject
  Scanjour.Workflow4.Base.CacheBaseCache
    Scanjour.Workflow4.Base.CacheMemoryStackCache

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

The MemoryStackCache type exposes the following members.

Constructors

  NameDescription
Public methodMemoryStackCache
Creates new MemoryStackCache instance with a given size. Default cache size is 20 entries.
Top
Methods

  NameDescription
Public methodContains
Checks if given key is present in cache.
(Overrides BaseCacheContains(String).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetT
Gets the value assigned to a given key and casts it to T.
(Overrides BaseCacheGetT(String).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPut
Adds a new value under the given key to cache.
(Overrides BaseCachePut(String, Object).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetT
Tries to get the value assigned to a given key.
(Inherited from BaseCache.)
Top
See Also

Reference