Show / Hide Table of Contents

Class CompositeCache.DeactivationListener

DeactivationListener for the back NamedCache.

Inheritance
object
AbstractCacheListener
CompositeCache.DeactivationListener
Implements
CacheListenerSupport.ISynchronousListener
ISynchronousListener
ICacheListener
Inherited Members
AbstractCacheListener.EntryInserted(CacheEventArgs)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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
AbstractCacheListener.EntryDeleted(CacheEventArgs)

EntryUpdated(CacheEventArgs)

Invoked when a back cache is truncated.

Declaration
public override void EntryUpdated(CacheEventArgs evt)
Parameters
Type Name Description
CacheEventArgs evt

The CacheEventArgs

Overrides
AbstractCacheListener.EntryUpdated(CacheEventArgs)

Implements

CacheListenerSupport.ISynchronousListener
ISynchronousListener
ICacheListener
In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.