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

The ContinuousQueryCache type exposes the following members.

Methods

  NameDescription
Public methodAdd
Adds an element with the provided key and value to the IDictionary object.
(Inherited from AbstractKeyBasedCache.)
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.
Public methodAddCacheListener(ICacheListener, Object, Boolean)
Add a cache listener for a specific key.
Public methodAddCacheListener(ICacheListener, IFilter, Boolean)
Add a cache listener that receives events based on a filter evaluation.
Public methodAddIndex
Add an index to this IQueryCache.
Public methodAggregate(ICollection, IEntryAggregator)
Perform an aggregating operation against the entries specified by the passed keys.
Public methodAggregate(IFilter, IEntryAggregator)
Perform an aggregating operation against the collection of entries that are selected by the given IFilter.
Protected methodCheckEntry(ICacheEntry)
Check the passed value to verify that it does belong in this ContinuousQueryCache.
Protected methodCheckEntry(Object, Object)
Check the passed value to verify that it does belong in this ContinuousQueryCache.
Protected methodCheckReadOnly
Check the read-only setting to verify that the cache is NOT read-only.
Public methodClear
Removes all mappings from this cache.
(Overrides AbstractKeyBasedCache..::..Clear()()()().)
Protected methodConfigureSynchronization
Set up the listeners that keep the ContinuousQueryCache up-to-date.
Public methodContains
Returns true if this cache contains a mapping for the specified key.
(Overrides AbstractKeySetBasedCache..::..Contains(Object).)
Public methodCopyTo
Copies the elements of the ICollection to an Array, starting at a particular index.
(Inherited from AbstractKeyBasedCache.)
Protected methodCreateTransformerFilter
Wrap specified CacheEventFilter with a CacheEventTransformerFilter that will either transform cache value using transformer defined for this ContinuousQueryCache, or remove the old value from the event using SemiLiteEventTransformer, if no transformer is defined for this CQC.
Protected methodcreateUnexpectedStateException
Simple helper to create an exception for communicating invalid state transitions.
Public methodDestroy
Release and destroy this instance of INamedCache.
Public methodDispose
Calls Release()()()() to release the resources associated with this cache.
Protected methodEnsureEventDispatcher
Obtain the existing event queue or create one if none exists.
Protected methodEnsureIndexMap
Obtain the IDictionary of indexes maintained by this cache.
Protected methodEnsureInternalCache
Create and initialize this
CopyC#
ContinuousQueryCache
's (if not already present) internal cache. This method is called by
CopyC#
ConfigureSynchronization(boolean)
, as such, it shouldn't be called directly. Use
CopyC#
GetInternalCache
.
Protected methodEnsureSynchronized
Ensure that the ContinousQueryCache listeners have been registered and its content synchronized with the underlying INamedCache.
Public methodEquals
Compares the specified object with this cache for equality.
(Inherited from AbstractKeyBasedCache.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGet
Returns the value for the specified key.
(Overrides AbstractKeyBasedCache..::..Get(Object).)
Public methodGetAll
Get the values for all the specified keys, if they are in the cache.
(Overrides AbstractKeyBasedCache..::..GetAll(ICollection).)
Public methodGetEntries(IFilter)
Return a collection of the entries contained in this cache that satisfy the criteria expressed by the filter.
Public methodGetEntries(IFilter, IComparer)
Return a collection of the entries contained in this cache that satisfy the criteria expressed by the filter.
Public methodGetEnumerator
Returns an ICacheEnumerator object for the ICache instance.
(Inherited from AbstractKeyBasedCache.)
Public methodGetHashCode
Returns the hash code value for this cache.
(Inherited from AbstractKeyBasedCache.)
Protected methodGetInternalKeysCollection
Obtain a collection of keys that are represented by this cache.
(Overrides AbstractKeySetBasedCache..::..GetInternalKeysCollection()()()().)
Public methodGetKeys
Return a collection of the keys contained in this cache for entries that satisfy the criteria expressed by the filter.
Protected methodGetKeysEnumerator
Create an IEnumerator over the keys in this cache.
(Inherited from AbstractKeySetBasedCache.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValues(IFilter)
Return a collection of the values contained in this cache for entries that satisfy the criteria expressed by the filter.
Public methodGetValues(IFilter, IComparer)
Return a collection of the values contained in this cache for entries that satisfy the criteria expressed by the filter.
Public methodInsert(Object, Object)
Associates the specified value with the specified key in this cache.
(Overrides AbstractKeyBasedCache..::..Insert(Object, Object).)
Public methodInsert(Object, Object, Int64)
Associates the specified value with the specified key in this cache.
(Overrides AbstractKeyBasedCache..::..Insert(Object, Object, Int64).)
Public methodInsertAll
Copies all of the mappings from the specified dictionary to this cache (optional operation).
(Overrides AbstractKeyBasedCache..::..InsertAll(IDictionary).)
Protected methodInstantiateAddListener
Instantiate an ICacheListener for adding items to the query, and (if there are listeners on the ContinuousQueryCache) for dispatching inserts and updates.
Protected methodInstantiateEntriesCollection
Factory pattern: Create a collection that represents the entries in the cache.
(Inherited from AbstractKeyBasedCache.)
Protected methodInstantiateEventDispatcher
Create a self-processing event queue dispatcher.
Protected methodInstantiateEventRouter
Instantiate a listener on the internal cache that will direct events to the passed listener, either synchronously or asynchronously as appropriate.
Protected methodInstantiateInternalCache
Instantiate the internal cache used by the ContinuousQueryCache.
Protected methodInstantiateKeyEnumerator
Factory pattern: Create an IEnumerator over the keys in the cache.
(Inherited from AbstractKeySetBasedCache.)
Protected methodInstantiateKeysCollection
Factory pattern: Create a collection that represents the keys in the cache.
(Inherited from AbstractKeyBasedCache.)
Protected methodInstantiateRemoveListener
Instantiate an ICacheListener for evicting items from the query.
Protected methodInstantiateValuesCollection
Factory pattern: Instantiate the values collection.
(Inherited from AbstractKeyBasedCache.)
Public methodInvoke
Invoke the passed IEntryProcessor against the entry specified by the passed key, returning the result of the invocation.
Public methodInvokeAll(ICollection, IEntryProcessor)
Invoke the passed IEntryProcessor against the entries specified by the passed keys, returning the result of the invocation for each.
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.
Protected methodIsEventDeferred
Called when an event has occurred.
Public methodLock(Object)
Attempt to lock the specified item and return immediately.
Public methodLock(Object, Int64)
Attempt to lock the specified item within the specified period of time.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMergeFilter
Return a filter which merges the ContinousQueueCache's filter with the supplied filter.
Public methodOnMemberJoined
Invoked when an IMember has joined the service.
Public methodOnMemberLeaving
Invoked when an IMember is leaving the service.
Public methodOnMemberLeft
Invoked when an IMember has left the service.
Protected methodRegisterDeactivationListener
Instantiate and register a INamedCacheDeactivationListener to allow this cache to listen for cache deactivation or truncation events.
Protected methodRegisterServiceMemberEventHandler
Register a member event handler with the underlying caches's service.
Public methodRelease
Release local resources associated with this instance of INamedCache.
Protected methodReleaseIndexMap
Release the the entire index map.
Protected methodReleaseListeners
Release all locally registered listeners.
Public methodRemove
Removes the element with the specified key from the IDictionary object.
(Overrides AbstractKeyBasedCache..::..Remove(Object).)
Protected methodRemoveBlind
Removes the mapping for this key from this cache if present.
(Overrides AbstractKeyBasedCache..::..RemoveBlind(Object).)
Public methodRemoveCacheListener(ICacheListener)
Remove a standard cache listener that previously signed up for all events.
Public methodRemoveCacheListener(ICacheListener, Object)
Remove a cache listener that previously signed up for events about a specific key.
Public methodRemoveCacheListener(ICacheListener, IFilter)
Remove a cache listener that previously signed up for events based on a filter evaluation.
Public methodRemoveIndex
Remove an index from this IQueryCache.
Protected methodShutdownEventQueue
Shut down running event queue.
Public methodToString
Returns a string representation of this cache.
(Inherited from AbstractKeyBasedCache.)
Public methodTruncate
Removes all mappings from this map.
Public methodUnlock
Unlock the specified item.
Protected methodUnregisterDeactivationListener
Unregister the previously registered INamedCacheDeactivationListener.
Protected methodUnregisterServiceMemberEventHandler
Unregister underlying caches's service member event handler.
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.)

See Also