Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03
E22844-03
The LocalCache type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AcquireReadLock | Overloaded. | |
| AcquireWriteLock | Overloaded. | |
| Add |
Adds an element with the provided key and value to the cache.
(Overrides SynchronizedDictionary..::.Add(Object, Object).) | |
| AddCacheListener | Overloaded. | |
| AddIndex |
Add an index to this IQueryCache.
| |
| AddInternal |
Add new cache entry and raise Inserted event if necessary.
| |
| AdjustUnits |
Adjust current size.
| |
| Aggregate | Overloaded. | |
| CheckFlush |
Flush the cache if it needs to be flushed.
| |
| CheckSize |
Check if the cache is too big, and if it is prune it by
discarding the lowest priority cache entries.
| |
| Clear |
Removes all elements from the ICache object.
(Overrides SynchronizedDictionary..::.Clear()()().) | |
| ConfigureEviction |
Configure the eviction type and policy.
| |
| ConfigureUnitCalculator |
Configure the unit calculator type and implementation.
| |
| Contains |
Determines whether the object contains an element with the
specified key.
(Overrides SynchronizedDictionary..::.Contains(Object).) | |
| ContainsKey |
Determines whether the IDictionary object contains an
element with the specified key.
| |
| ContainsValue |
Determines whether the IDictionary object contains an
element with the specified value.
| |
| CopyTo |
Copies the elements of the IDictionary to an Array,
starting at a particular index.
(Overrides SynchronizedDictionary..::.CopyTo(Array, Int32).) | |
| CreateEntry |
Creates an ICacheEntry.
| |
| DispatchEvent |
Dispatch the passed event.
| |
| EnsureEntry |
Create a LocalCache..::.Entry object for the specified key.
| |
| EnsureEntryCollection |
Create an array of LocalCache..::.Entry objects for the specified
ICache and the keys collection.
| |
| EnsureIndexMap |
Obtain the IDictionary of indexes maintained by this cache.
| |
Determines whether the specified (Inherited from | ||
| Evict | Overloaded. | |
| EvictAll |
Evict the specified keys from the cache, as if they had each
expired from the cache.
| |
Allows an (Inherited from | ||
| GetAll |
Get the values for all the specified keys, if they are in the
cache.
| |
| GetCacheEntry |
Locate a cache entry in the cache based on its key.
| |
| GetEntries | Overloaded. | |
| GetEntry |
Locate an LocalCache..::.Entry in the cache based on its key.
| |
| GetEntryInternal |
Locate an LocalCache..::.Entry in the cache based on its key.
| |
| GetEnumerator |
Returns an ICacheEnumerator object for the
ICache instance.
| |
Serves as a hash function for a particular type.
(Inherited from | ||
| GetKeys |
Return a collection of the keys contained in this cache for
entries that satisfy the criteria expressed by the filter.
| |
| GetObjectData |
Populates SerializationInfo with the data needed to serialize this
object.
(Inherited from SynchronizedDictionary.) | |
Gets the (Inherited from | ||
| GetValues | Overloaded. | |
| HasListeners |
Determine if the LocalCache has any listeners at all.
| |
| Insert | Overloaded. | |
| InsertAll |
Copies all of the mappings from the specified dictionary to this
cache (optional operation).
| |
| InstantiateCacheEnumerator |
Factory method for cache enumerator.
| |
| InstantiateCacheEvent |
Factory pattern: instantiate a new CacheEventArgs
corresponding to the specified parameters.
| |
| InstantiateEntriesCollection |
Factory method that creates virtual collection of cache entries.
| |
| InstantiateInternalListener |
Factory pattern: Instantiate an internal
ICacheListener to listen to this cache and report
changes to the ICacheStore.
| |
| InstantiateKeysCollection |
Factory method that creates virtual collection of cache keys.
| |
| InstantiateValuesCollection |
Factory method that creates virtual collection of cache values.
| |
| Invoke |
Invoke the passed IEntryProcessor against the entry
specified by the passed key, returning the result of the
invocation.
| |
| InvokeAll | Overloaded. | |
| IsFlushRequired |
Check if the cache needs to be flushed.
| |
| Load |
Indicates to the cache that the specified key should be loaded
into the cache, if it is not already in the cache.
| |
| LoadAll | Overloaded. | |
| Lock | Overloaded. | |
Creates a shallow copy of the current (Inherited from | ||
| Peek |
Checks for a valid entry corresponding to the specified key in
the cache, and returns the corresponding value if it is.
| |
| PeekAll |
Checks for a valid entry corresponding to each specified key in
the cache, and places the corresponding value in the returned
dictionary if it is.
| |
| PeekEntryInternal |
Locate an LocalCache..::.Entry in the cache based on its key.
| |
| Prune |
Prune the cache by discarding the lowest priority cache entries.
| |
| ReleaseReadLock |
Release a read lock.
(Inherited from SynchronizedDictionary.) | |
| ReleaseWriteLock |
Release a write lock.
(Inherited from SynchronizedDictionary.) | |
| Remove |
Removes the element with the specified key from the
ICache object.
(Overrides SynchronizedDictionary..::.Remove(Object).) | |
| RemoveCacheListener | Overloaded. | |
| RemoveExpired |
Remove an entry because it has expired.
| |
| RemoveIndex |
Remove an index from this IQueryCache.
| |
| RemoveInternal |
Remove an entry.
| |
| ResetHitStatistics |
Reset the cache statistics.
| |
| ScheduleFlush |
Schedule the next flush.
| |
| ToString |
Returns a string representation of this LocalCache object.
(Overrides | |
| Unlock |
Unlock the specified item.
|