Show / Hide Table of Contents

Class ContinuousQueryCache.DeactivationListener

DeactivationListener for the underlying NamedCache.

Inheritance
object
AbstractCacheListener
ContinuousQueryCache.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 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
AbstractCacheListener.EntryDeleted(CacheEventArgs)

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.

Overrides
AbstractCacheListener.EntryUpdated(CacheEventArgs)

Implements

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