Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AspNetCache Members

AspNetCache overview

Public Instance Constructors

AspNetCache Overloaded. Initializes a new instance of the AspNetCache class.

Public Instance Properties

Count (inherited from AbstractCache) Gets the number of items in the cache.
EnforceTimeToLive (inherited from AbstractCache) Gets/Sets a value, whether the this cache instance's TimeToLive shall be applied to all items, regardless of their individual TTL when Insert is called.
Keys Gets a collection of all cache item keys.
Priority Gets/Sets a default priority to be applied to all items inserted into this cache.
SlidingExpiration Gets/Sets a flag, whether to use sliding expiration policy.
TimeToLive (inherited from AbstractCache) Gets/Set the Default time-to-live (TTL) for items inserted into this cache. Used by Insert

Public Instance Methods

Clear (inherited from AbstractCache) Removes all items from the cache.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GenerateKey Generate a key to be used for the underlying Cache implementation.
Get Retrieves an item from the cache.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
InsertOverloaded. Inserts an item into the cache.
Insert (inherited from AbstractCache)Overloaded. Inserts an item into the cache.
Remove Removes an item from the cache.
RemoveAll (inherited from AbstractCache) Removes collection of items from the cache.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

DoInsert Inserts an item into the cache.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

AspNetCache Class | Spring.Caching Namespace