Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractCache Members

AbstractCache overview

Public Instance Properties

Count Gets the number of items in the cache.
EnforceTimeToLive 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.
TimeToLive Gets/Set the Default time-to-live (TTL) for items inserted into this cache. Used by Insert

Public Instance Methods

Clear Removes all items from the cache.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
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.
Remove Removes an item from the cache.
RemoveAll Removes collection of items from the cache.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Constructors

AbstractCache Constructor Initializes a new instance of the AbstractCache class.

Protected Instance Methods

DoInsert Actually does the cache implementation specific insert operation 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

AbstractCache Class | Spring.Caching Namespace