Shared Cache is high performance distributed and replication cache system built for .Net applications running in server farms.

The Cache type exposes the following members.

Constructors

  NameDescription
CacheOverloaded.

Methods

  NameDescription
AddOverloaded.
Amount
returns the amount this instance contains.
Clear
Removes all objects from the Cache.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Get
Gets the specified key.
GetAllKeys
Retrive all key's
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Insert
Inserts the specified key.
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Remove
Removes the object that identified by the specified key from the Cache.
Size
calculates the actual size of this instance.

Remarks

This is a very heavy operation, please consider not to use this to often then it locks the cache exclusivly which is very expensive!!!
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
CacheCleanup
Singleton for CacheCleanup
CalculatedCacheSize
Gets/sets the CalculatedCacheSize

See Also