Class ContinuousQueryCache.DeactivationListener
DeactivationListener for the underlying NamedCache.
Inherited Members
Namespace: Tangosol.Net.Cache
Assembly: Coherence.dll
Syntax
protected class ContinuousQueryCache.DeactivationListener : AbstractCacheListener, CacheListenerSupport.ISynchronousListener, ISynchronousListener, ICacheListener
Remarks
The primary goal of that listener is invalidation of the named cache when the named cache is destroyed or to truncate the local cache if the back cache has been truncated.
Constructors
DeactivationListener(ContinuousQueryCache)
Constructs the DeactivationListener with a reference to this ContinuousQueryCache
Declaration
public DeactivationListener(ContinuousQueryCache parentContinuousQueryCache)
Parameters
Type | Name | Description |
---|---|---|
ContinuousQueryCache | parentContinuousQueryCache | The ContinuousQueryCache associated with this listener. |
Methods
EntryDeleted(CacheEventArgs)
Notify this cache of the underlying cache's deactivation state.
Declaration
public override void EntryDeleted(CacheEventArgs evt)
Parameters
Type | Name | Description |
---|---|---|
CacheEventArgs | evt | The deactivation event. |
Overrides
EntryUpdated(CacheEventArgs)
Notify this cache of the underlying cache's truncation state.
Declaration
public override void EntryUpdated(CacheEventArgs evt)
Parameters
Type | Name | Description |
---|---|---|
CacheEventArgs | evt | The truncation event. |