Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NonExpiringCache Members

NonExpiringCache overview

Public Instance Constructors

NonExpiringCache Constructor Initializes a new instance of the NonExpiringCache class.

Public Instance Properties

Count 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.
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 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.
Insert (inherited from AbstractCache)Overloaded. 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 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

NonExpiringCache Class | Spring.Caching Namespace