Class CompositeCache.DeactivationListener
DeactivationListener for the back NamedCache.
Inherited Members
Namespace: Tangosol.Net.Cache
Assembly: Coherence.dll
Syntax
protected class CompositeCache.DeactivationListener : AbstractCacheListener, CacheListenerSupport.ISynchronousListener, ISynchronousListener, ICacheListener
Remarks
The primary goal of that listener is invalidation of the front map when the back cache is destroyed or all storage nodes are stopped.
Constructors
DeactivationListener(CompositeCache)
Constructor that passes the reference of the parent object.
Declaration
public DeactivationListener(CompositeCache parent)
Parameters
Type | Name | Description |
---|---|---|
CompositeCache | parent | The reference to the instatnce of the parent class. |
Methods
EntryDeleted(CacheEventArgs)
Invoked when a back cache is destroyed or all storage nodes are stopped.
Declaration
public override void EntryDeleted(CacheEventArgs evt)
Parameters
Type | Name | Description |
---|---|---|
CacheEventArgs | evt | The CacheEventArgs |
Overrides
EntryUpdated(CacheEventArgs)
Invoked when a back cache is truncated.
Declaration
public override void EntryUpdated(CacheEventArgs evt)
Parameters
Type | Name | Description |
---|---|---|
CacheEventArgs | evt | The CacheEventArgs |