The EasyCache type exposes the following members.

Methods

  NameDescription
AddOverloaded.
AddToAllMachinesOverloaded.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Exist
Check if a cache object already exist

Returns false when EasyCache is not Active

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.)
GetEnumerator
Retrieves a dictionary enumerator used to iterate through the key settings and their values contained in the cache.
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Item
Get a cache item

Returns null when EasyCache is not Active

MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ProcessCachePerRequest
Process a cache request in order to update the caller with the most recent cache updates.

If the cache processing is successful then EasyCache.IndicatorCacheUpdateSentOK will be written to the requester page.

This should be called from all the available machines (when hosted as a Web Farm on more than one machine)

Remarks

It will only process cache if the receiver page is located on one of the allowed listed machine URLs.
Remove
Remove a CacheItem (works also when EasyCache is not Active)

Use RemoveFromAllMachines() in order to support multiple machines.

RemoveAllCacheItemsOverloaded.
RemoveFromAllMachines
Remove a CacheItem and update all machines if any (works also when EasyCache is not Active)

Use this instead of Remove() in order to support multiple machines.

Remarks

When no other machines are defined it will behave as Remove()
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also