Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.3.0)
E80354-01

The CompositeCache type exposes the following members.

Methods

  NameDescription
Public methodAdd
Associates the specified value with the specified key in this cache.
Public methodClear
Clears both the front and back caches.
Public methodContains
Check whether or not this cache contains a mapping for the specified key.
Public methodCopyTo
Copies the elements of the BackCache to an Array, starting at a particular Array index.
Public methodDispose
Calls Release()()()() to release the resources associated with this cache.
Protected methodEnsureInvalidationStrategy
Ensure that a strategy has been choosen and that any appropriate global listeners have been registered.
Public methodEquals
Compares the specified object with this dictionary for equality.
(Overrides Object..::..Equals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAll
Get the values for all the specified keys, if they are in the cache.
Public methodGetEnumerator
Returns an enumerator that iterates through a cache.
Public methodGetHashCode
Return the hash code value for this dictionary.
(Overrides Object..::..GetHashCode()()()().)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsert(Object, Object)
Associates the specified value with the specified key in this cache.
Public methodInsert(Object, Object, Int64)
Associates the specified value with the specified key in this cache.
Public methodInsertAll
Copies all of the mappings from the specified dictionary to this cache (optional operation).
Protected methodInstantiateBackCacheListener
Factory pattern: instantiate back cache listener.
Protected methodInstantiateFrontCacheListener
Factory pattern: instantiate front cache listener.
Protected methodInvalidateFront
Invalidate the key from the front.
Protected methodStatic memberIsPriming
Check if the specified event is a "priming" one.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRegisterDeactivationListener
Instantiate and register a DeactivationListener with the back cache.
Protected methodRegisterFrontListener
Register the global front cache listener.
Protected methodRegisterListener()()()()
Register the global back cache listener.
Protected methodRegisterListener(Object)
Register the back cache listener for the specified key.
Protected methodRegisterListeners
Register the back map listeners for the specified set of keys.
Public methodRelease
Release the CompositeCache.
Public methodRemove
Remove the mapping for this key from this cache if present.
Protected methodRemoveKeyHolder
Remove the key holder from the ThreadLocal object.
Public methodResetFrontMap
Reset the front map.
Public methodResetHitStatistics
Reset the cache statistics.
Protected methodResetInvalidationStrategy
Reset the "current invalidation strategy" flag.
Protected methodSetKeyHolder
Set up a thread local Set to hold all the keys that might be evicted from the front cache.
Public methodToString
For debugging purposes, format the contents of the CompositeCache in a human readable format.
(Overrides Object..::..ToString()()()().)
Protected methodTryLock
Lock the keys in the given set without blocking.
Protected methodUnregisterDeactivationListener
Unregister back cache deactivation listener.
Protected methodUnregisterFrontListener
Unregister the global front cache listener.
Protected methodUnregisterListener()()()()
Unregister the global back cache listener.
Protected methodUnregisterListener(Object)
Unregister the back cache listener for the specified key.
Protected methodUnregisterListeners
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.

Protected methodValidate
Validate the front cache entry for the specified back cache event.

See Also