CacheListenerSupport Methods |
The CacheListenerSupport type exposes the following members.
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 try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | FireEvent |
Fire the specified cache event.
|
![]() | GetHashCode | Serves as the default hash function. (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.
|