Class ContinuousQueryCache.DeactivationListener

java.lang.Object
com.tangosol.util.Base
com.tangosol.util.AbstractMapListener
com.tangosol.net.cache.ContinuousQueryCache.DeactivationListener
All Implemented Interfaces:
com.tangosol.internal.net.NamedCacheDeactivationListener, MapListener, MapListenerSupport.SynchronousListener, SynchronousListener, EventListener
Enclosing class:
ContinuousQueryCache<K,V_BACK,V_FRONT>

protected class ContinuousQueryCache.DeactivationListener extends AbstractMapListener implements com.tangosol.internal.net.NamedCacheDeactivationListener
DeactivationListener for the underlying NamedCache.

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.

Since:
12.2.1.4
  • Constructor Details

    • DeactivationListener

      protected DeactivationListener()
  • Method Details

    • entryDeleted

      public void entryDeleted(MapEvent evt)
      Description copied from class: AbstractMapListener
      Invoked when a map entry has been removed.
      Specified by:
      entryDeleted in interface MapListener
      Specified by:
      entryDeleted in interface com.tangosol.internal.net.NamedCacheDeactivationListener
      Overrides:
      entryDeleted in class AbstractMapListener
      Parameters:
      evt - the MapEvent carrying the delete information
    • entryUpdated

      public void entryUpdated(MapEvent evt)
      Description copied from class: AbstractMapListener
      Invoked when a map entry has been updated.
      Specified by:
      entryUpdated in interface MapListener
      Specified by:
      entryUpdated in interface com.tangosol.internal.net.NamedCacheDeactivationListener
      Overrides:
      entryUpdated in class AbstractMapListener
      Parameters:
      evt - the MapEvent carrying the update information