The IConfigurableCache type exposes the following members.

Methods

  NameDescription
Public methodAdd
Adds an element with the provided key and value to the IDictionary object.
(Inherited from IDictionary.)
Public methodClear
Removes all elements from the IDictionary object.
(Inherited from IDictionary.)
Public methodContains
Determines whether the IDictionary object contains an element with the specified key.
(Inherited from IDictionary.)
Public methodCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from ICollection.)
Public methodEvict()()()()
Evict all entries from the cache that are no longer valid, and potentially prune the cache size if the cache is size-limited and its size is above the caching low water mark.
Public methodEvict(Object)
Evict a specified key from the cache, as if it had expired from the cache. If the key is not in the cache, then the method has no effect.
Public methodEvictAll
Evict the specified keys from the cache, as if they had each expired from the cache.
Public methodGetAll
Get the values for all the specified keys, if they are in the cache.
(Inherited from ICache.)
Public methodGetCacheEntry
Locate a cache entry in the cache based on its key.
Public methodGetEnumerator()()()()
Returns an ICacheEnumerator object for the ICache instance.
(Inherited from ICache.)
Public methodGetEnumerator()()()()
Returns an IDictionaryEnumerator object for the IDictionary object.
(Inherited from IDictionary.)
Public methodGetEnumerator()()()()
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.)
Public methodInsert(Object, Object)
Associates the specified value with the specified key in this cache.
(Inherited from ICache.)
Public methodInsert(Object, Object, Int64)
Associates the specified value with the specified key in this cache.
(Inherited from ICache.)
Public methodInsertAll
Copies all of the mappings from the specified dictionary to this cache (optional operation).
(Inherited from ICache.)
Public methodRemove
Removes the element with the specified key from the IDictionary object.
(Inherited from IDictionary.)

Properties

  NameDescription
Public propertyCount
Gets the number of elements contained in the ICollection.
(Inherited from ICollection.)
Public propertyEntries
Gets a collection of ICacheEntry instances within the cache.
(Inherited from ICache.)
Public propertyEvictionPolicy
Get or set the eviction policy used by the cache.
Public propertyExpiryDelay
Get or set the default "time to live" for each individual cache entry.
Public propertyFlushDelay
Get or set the delay between cache flushes. A cache flush evicts entries that have expired.
Public propertyHighUnits
Get or set the limit of the cache size in units. The cache will prune itself automatically once it reaches its maximum unit level. This is often referred to as the "high water mark" of the cache.
Public propertyIsFixedSize
Gets a value indicating whether the IDictionary object has a fixed size.
(Inherited from IDictionary.)
Public propertyIsReadOnly
Gets a value indicating whether the IDictionary object is read-only.
(Inherited from IDictionary.)
Public propertyIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from ICollection.)
Public propertyItem
Gets or sets the element with the specified key.
(Inherited from IDictionary.)
Public propertyKeys
Gets an ICollection object containing the keys of the IDictionary object.
(Inherited from IDictionary.)
Public propertyLowUnits
Get or set the point to which the cache will shrink when it prunes. This is often referred to as a "low water mark" of the cache. If the cache incrementally prunes, then this setting will have no effect.
Public propertySyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from ICollection.)
Public propertyUnitCalculator
Get or set the unit calculator used by the cache.
Public propertyUnits
Determine the number of units that the cache currently stores.
Public propertyValues
Gets an ICollection object containing the values in the IDictionary object.
(Inherited from IDictionary.)

See Also