CompositeCache Methods |
The CompositeCache type exposes the following members.
Name | Description | |
---|---|---|
![]() | Add |
Associates the specified value with the specified key in this
cache.
|
![]() | Clear |
Clears both the front and back caches.
|
![]() | Contains |
Check whether or not this cache contains a mapping for the
specified key.
|
![]() | CopyTo |
Copies the elements of the BackCache to an
Array, starting at a particular Array index.
|
![]() | Dispose |
Calls Release to release the resources associated with this cache.
|
![]() | EnsureInvalidationStrategy |
Ensure that a strategy has been choosen and that any appropriate
global listeners have been registered.
|
![]() | Equals |
Compares the specified object with this dictionary for equality.
(Overrides ObjectEquals(Object).) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetAll |
Get the values for all the specified keys, if they are in the
cache.
|
![]() | GetEnumerator |
Returns an enumerator that iterates through a cache.
|
![]() | GetHashCode |
Return the hash code value for this dictionary.
(Overrides ObjectGetHashCode.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Insert(Object, Object) |
Associates the specified value with the specified key in this
cache.
|
![]() | Insert(Object, Object, Int64) |
Associates the specified value with the specified key in this
cache.
|
![]() | InsertAll |
Copies all of the mappings from the specified dictionary to this
cache (optional operation).
|
![]() | InstantiateBackCacheListener |
Factory pattern: instantiate back cache listener.
|
![]() | InstantiateFrontCacheListener |
Factory pattern: instantiate front cache listener.
|
![]() | InvalidateFront |
Invalidate the key from the front.
|
![]() ![]() | IsPriming |
Check if the specified event is a "priming" one.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RegisterDeactivationListener |
Instantiate and register a DeactivationListener with the back cache.
|
![]() | RegisterFrontListener |
Register the global front cache listener.
|
![]() | RegisterListener |
Register the global back cache listener.
|
![]() | RegisterListener(Object) |
Register the back cache listener for the specified key.
|
![]() | RegisterListeners |
Register the back map listeners for the specified set of keys.
|
![]() | Release |
Release the CompositeCache.
|
![]() | Remove |
Remove the mapping for this key from this cache if present.
|
![]() | RemoveKeyHolder |
Remove the key holder from the ThreadLocal object.
|
![]() | ResetFrontMap |
Reset the front map.
|
![]() | ResetHitStatistics |
Reset the cache statistics.
|
![]() | ResetInvalidationStrategy |
Reset the "current invalidation strategy" flag.
|
![]() | SetKeyHolder |
Set up a thread local Set to hold all the keys that might be evicted
from the front cache.
|
![]() | ToString |
For debugging purposes, format the contents of the
CompositeCache in a human readable format.
(Overrides ObjectToString.) |
![]() | TryLock |
Lock the keys in the given set without blocking.
|
![]() | UnregisterDeactivationListener |
Unregister back cache deactivation listener.
|
![]() | UnregisterFrontListener |
Unregister the global front cache listener.
|
![]() | UnregisterListener |
Unregister the global back cache listener.
|
![]() | UnregisterListener(Object) |
Unregister the back cache listener for the specified key.
|
![]() | UnregisterListeners |
Unregister the back cache listener for the specified keys.
Note: all the keys in the passed-in set must be locked and will be unlocked. |
![]() | Validate |
Validate the front cache entry for the specified back cache
event.
|