Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03
E22844-03
The CompositeCache type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CompositeCache | Overloaded. |
Methods
| 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 |
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 | |
Allows an (Inherited from | ||
| 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 | |
Gets the (Inherited from | ||
| Insert | Overloaded. | |
| 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.
| |
Creates a shallow copy of the current (Inherited from | ||
| RegisterFrontListener |
Register the global front cache listener.
| |
| RegisterListener | Overloaded. | |
| Release |
Release the CompositeCache.
| |
| Remove |
Remove the mapping for this key from this cache if present.
| |
| ResetHitStatistics |
Reset the cache statistics.
| |
| ResetInvalidationStrategy |
Reset the "current invalidation strategy" flag.
| |
| ToString |
For debugging purposes, format the contents of the
CompositeCache in a human readable format.
(Overrides | |
| UnregisterFrontListener |
Unregister the global front cache listener.
| |
| UnregisterListener | Overloaded. | |
| Validate |
Validate the front cache entry for the specified back cache
event.
|
Fields
| Name | Description | |
|---|---|---|
| m_strategyCurrent |
The current invalidation strategy, which at times could be
different from the target strategy.
| |
| m_strategyTarget |
The invalidation strategy that this cache is to use.
|
Properties
| Name | Description | |
|---|---|---|
| AverageGetMillis |
Determine the average number of milliseconds per "get"
invocation since the cache statistics were last reset.
| |
| AverageHitMillis |
Determine the average number of milliseconds per "get"
invocation that is a hit.
| |
| AverageMissMillis |
Determine the average number of milliseconds per "get" invocation
that is a miss.
| |
| AveragePruneMillis |
Determine the average number of milliseconds per cache pruning.
| |
| AveragePutMillis |
Determine the average number of milliseconds per "put"
invocation since the cache statistics were last reset.
| |
| BackCache |
Obtain the back cache reference.
| |
| CacheControl |
Obtain the IConcurrentCache that should be used to
synchronize the front cache modification access.
| |
| CacheHits |
Determine the rough number of cache hits since the cache
statistics were last reset.
| |
| CacheHitsMillis |
Determine the total number of milliseconds (since that last
statistics reset) for the "get" operations for which an entry
existed in this cache.
| |
| CacheMisses |
Determine the rough number of cache misses since the cache
statistics were last reset.
| |
| CacheMissesMillis |
Determine the total number of milliseconds (since that last
statistics reset) for the "get" operations for which no entry
existed in this map.
| |
| CachePrunes |
Determine the rough number of cache pruning cycles since the
cache statistics were last reset.
| |
| CachePrunesMillis |
Determine the total number of milliseconds (since that last
statistics reset) spent on cache pruning.
| |
| CacheStatistics |
Obtain the CacheStatistics for this cache.
| |
| Count |
Gets the number of elements contained in the
BackCache.
| |
| Entries |
Gets a collection of ICacheEntry instances
within the cache.
| |
| FrontCache |
Obtain the front cache reference.
| |
| HitProbability |
Determine the rough probability (0 <= p <= 1) that the next
invocation will be a hit, based on the statistics collected since
the last reset of the cache statistics.
| |
| InvalidationHits |
Determine the rough number of front cache invalidation hits
since the cache statistics were last reset.
| |
| InvalidationMisses |
Determine the rough number of front cache invalidation
misses since the cache statistics were last reset.
| |
| InvalidationStrategy |
Obtain the invalidation strategy used by this
CompositeCache.
| |
| IsCoherent |
Determine if changes to the back cache affect the front cache so
that data in the front cache stays in sync.
| |
| IsFixedSize |
Gets a value indicating whether the BackCache
object has a fixed size.
| |
| IsReadOnly |
Gets a value indicating whether the BackCache
object is read-only.
| |
| IsSynchronized |
Gets a value indicating whether access to the back cache is
synchronized (thread safe).
| |
| Item |
Gets or sets the element with the specified key.
| |
| Keys |
Obtain an ICollection of the keys contained in this cache.
| |
| SyncRoot |
Gets an object that can be used to synchronize access to the back
cache.
| |
| TotalGets |
Determine the total number of "get" operations since the cache
statistics were last reset.
| |
| TotalGetsMillis |
Determine the total number of milliseconds spent on "get"
operations since the cache statistics were last reset.
| |
| TotalPuts |
Determine the total number of "put" operations since the cache
statistics were last reset.
| |
| TotalPutsMillis |
Determine the total number of milliseconds spent on "put"
operations since the cache statistics were last reset.
| |
| TotalRegisterListener |
Determine the total number of
RegisterListener(Object) operations since the cache
statistics were last reset.
| |
| Values |
Obtain an ICollection of the values contained in this
cache.
|