Class CachingMap.DeactivationListener

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

protected class CachingMap.DeactivationListener extends AbstractMapListener implements com.tangosol.internal.net.NamedCacheDeactivationListener
DeactivationListener for the back NamedCache.

The primary goal of that listener is invalidation of the front map when the back cache is destroyed or all storage nodes are stopped.

  • 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