Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02

The INamedCache 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 methodAddCacheListener(ICacheListener)
Add a standard cache listener that will receive all events (inserts, updates, deletes) that occur against the cache, with the key, old-value and new-value included.
(Inherited from IObservableCache.)
Public methodAddCacheListener(ICacheListener, Object, Boolean)
Add a cache listener for a specific key.
(Inherited from IObservableCache.)
Public methodAddCacheListener(ICacheListener, IFilter, Boolean)
Add a cache listener that receives events based on a filter evaluation.
(Inherited from IObservableCache.)
Public methodAddIndex
Add an index to this IQueryCache.
(Inherited from IQueryCache.)
Public methodAggregate(ICollection, IEntryAggregator)
Perform an aggregating operation against the entries specified by the passed keys.
(Inherited from IInvocableCache.)
Public methodAggregate(IFilter, IEntryAggregator)
Perform an aggregating operation against the collection of entries that are selected by the given IFilter.
(Inherited from IInvocableCache.)
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 methodDestroy
Release and destroy this instance of INamedCache.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetAll
Get the values for all the specified keys, if they are in the cache.
(Inherited from ICache.)
Public methodGetEntries(IFilter)
Return a collection of the entries contained in this cache that satisfy the criteria expressed by the filter.
(Inherited from IQueryCache.)
Public methodGetEntries(IFilter, IComparer)
Return a collection of the entries contained in this cache that satisfy the criteria expressed by the filter.
(Inherited from IQueryCache.)
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 methodGetEnumerator()()()()
Returns an ICacheEnumerator object for the ICache instance.
(Inherited from ICache.)
Public methodGetKeys
Return a collection of the keys contained in this cache for entries that satisfy the criteria expressed by the filter.
(Inherited from IQueryCache.)
Public methodGetValues(IFilter)
Return a collection of the values contained in this cache for entries that satisfy the criteria expressed by the filter.
(Inherited from IQueryCache.)
Public methodGetValues(IFilter, IComparer)
Return a collection of the values contained in this cache for entries that satisfy the criteria expressed by the filter.
(Inherited from IQueryCache.)
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 methodInvoke
Invoke the passed IEntryProcessor against the entry specified by the passed key, returning the result of the invocation.
(Inherited from IInvocableCache.)
Public methodInvokeAll(ICollection, IEntryProcessor)
Invoke the passed IEntryProcessor against the entries specified by the passed keys, returning the result of the invocation for each.
(Inherited from IInvocableCache.)
Public methodInvokeAll(IFilter, IEntryProcessor)
Invoke the passed IEntryProcessor against the set of entries that are selected by the given IFilter, returning the result of the invocation for each.
(Inherited from IInvocableCache.)
Public methodLock(Object)
Attempt to lock the specified item and return immediately.
(Inherited from IConcurrentCache.)
Public methodLock(Object, Int64)
Attempt to lock the specified item within the specified period of time.
(Inherited from IConcurrentCache.)
Public methodRelease
Release local resources associated with this instance of INamedCache.
Public methodRemove
Removes the element with the specified key from the IDictionary object.
(Inherited from IDictionary.)
Public methodRemoveCacheListener(ICacheListener)
Remove a standard cache listener that previously signed up for all events.
(Inherited from IObservableCache.)
Public methodRemoveCacheListener(ICacheListener, Object)
Remove a cache listener that previously signed up for events about a specific key.
(Inherited from IObservableCache.)
Public methodRemoveCacheListener(ICacheListener, IFilter)
Remove a cache listener that previously signed up for events based on a filter evaluation.
(Inherited from IObservableCache.)
Public methodRemoveIndex
Remove an index from this IQueryCache.
(Inherited from IQueryCache.)
Public methodTruncate
Removes all mappings from this map.
Public methodUnlock
Unlock the specified item.
(Inherited from IConcurrentCache.)
Public methodView
Construct a view of this INamedCache.

Extension Methods

  NameDescription
Public Extension MethodGetOrDefault
Returns the value to which the specified key is mapped, or the defaultValue if this cache contains no mapping for the key.
(Defined by InvocableCacheEx.)
Public Extension MethodInsertIfAbsent
If the specified key is not already associated with a value (or is mapped to null) associates it with the given value and returns null, else returns the current value.
(Defined by InvocableCacheEx.)
Public Extension MethodRemove
Removes the entry for the specified key only if it is currently mapped to the specified value.
(Defined by InvocableCacheEx.)
Public Extension MethodReplace(Object, Object)Overloaded.
Replaces the entry for the specified key only if it is currently mapped to some value.
(Defined by InvocableCacheEx.)
Public Extension MethodReplace(Object, Object, Object)Overloaded.
Replaces the entry for the specified key only if currently mapped to the specified value.
(Defined by InvocableCacheEx.)

Properties

  NameDescription
Public propertyCacheName
Gets the cache name.
Public propertyCacheService
Gets the ICacheService that this INamedCache is a part of.
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 propertyIsActive
Specifies whether or not the INamedCache is active.
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 propertySyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from ICollection.)
Public propertyValues
Gets an ICollection object containing the values in the IDictionary object.
(Inherited from IDictionary.)

See Also