Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
12c (12.2.1.4.0)
E90869-02
The CacheListenerSupport type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CacheListenerSupport | Initializes a new instance of the CacheListenerSupport class |
Methods
Name | Description | |
---|---|---|
AddListener(ICacheListener, Object, Boolean) |
Add a cache listener for a specific key.
| |
AddListener(ICacheListener, IFilter, Boolean) |
Add a cache listener that receives events based on a filter
evaluation.
| |
AddListenerState |
Add a state information (lite or standard) assosiated with
specified key and listener.
| |
AddSafeListener(IDictionary, Object, ICacheListener) |
Ensure that the specified cache has an
Listeners object associated with the specified key
and add the specified listener to it.
| |
AddSafeListener(IDictionary, IFilter, ICacheListener) |
Ensure that the specified cache has an
Listeners object associated with the specified filter
and add the specified listener to it.
| |
Clear |
Remove all signed up listeners.
| |
CollectListeners |
Collect all Listeners that should be notified for a
given event.
| |
ContainsStandardListeners(Object) |
Checks whether or not this CacheListenerSupport object
contains any standard (not lite) listeners for a given key.
| |
ContainsStandardListeners(IFilter) |
Checks whether or not this CacheListenerSupport object
contains any standard (not lite) listeners for a given filter.
| |
ConvertEvent |
Convert the specified cache event into another
CacheEventArgs that ensures the lazy event data
conversion using the specified converters.
| |
Dispatch(CacheEventArgs, ICacheListener) |
Dispatch the CacheEventArgs to the specified
ICacheListener.
| |
Dispatch(CacheEventArgs, Listeners) |
Dispatch the CacheEventArgs to the specified
Listeners collection.
| |
Dispatch(CacheEventArgs, Listeners, Boolean) |
Dispatch the CacheEventArgs to the specified
Listeners collection.
| |
EnrichEvent |
Enrich the event with the filters associated with the listener.
| |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
EvaluateEvent |
Evaluate whether or not the specified event should be delivered to the
listener associated with the specified filter.
| |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
FireEvent |
Fire the specified cache event.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetListeners(Object) |
Obtain the Listeners object for a given key.
| |
GetListeners(IFilter) |
Obtain the Listeners object for a given filter.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsEmpty()()()() |
Checks whether or not this CacheListenerSupport object
contains any listeners.
| |
IsEmpty(Object) |
Checks whether or not this CacheListenerSupport object
contains any listeners for a given key.
| |
IsEmpty(IFilter) |
Checks whether or not this CacheListenerSupport object
contains any listeners for a given filter.
| |
IsPrimingListener |
Check if the given listener is a PrimingListener or if it wraps one.
| |
IsTransformedEvent |
Return true iff the specified event represents a transformed CacheEvent.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemoveListener(ICacheListener, Object) |
Remove a cache listener that previously signed up for events
about a specific key.
| |
RemoveListener(ICacheListener, IFilter) |
Remove a cache listener that previously signed up for events
based on a filter evaluation.
| |
RemoveListenerState |
Remove a state information (lite or standard) associated with
specified key and listener.
| |
RemoveSafeListener |
Remove the specified listener from the Listeners
object associated with the specified key.
| |
ToString |
Provide a string representation of the CacheListenerSupport
object.
(Overrides Object..::..ToString()()()().) | |
UnwrapEvent |
Unwrap the specified map event and return the underlying source event.
| |
UnwrapListener |
Unwrap the specified cache listener and return the underlying cache listener.
|
Fields
Name | Description | |
---|---|---|
m_cachedListeners |
A cached list of Listeners.
| |
m_cacheKeyListeners |
The collections of ICacheListener objects that have signed up for
key based notifications from an IObservableCache implementation
keyed by the corresponding key objects.
| |
m_cacheListeners |
The collections of ICacheListener objects that have signed up for
notifications from an IObservableCache implementation keyed by
the corresponding IFilter objects.
| |
m_cacheStandardKeyListeners |
The subset of standard (not lite) key listeners.
| |
m_cacheStandardListeners |
The subset of standard (not lite) global listeners.
| |
m_optimizationPlan |
The optimization plan which indicates the fastest way to put
together a list of listeners.
| |
NO_LISTENERS |
An empty list of Listeners.
|
Properties
Name | Description | |
---|---|---|
Filters |
Obtain a collection of all IFilter objects that
have associated global listeners.
| |
Keys |
Obtain a collection of all keys that have associated key
listeners.
|