Class NearCache.BackServiceListener

java.lang.Object
com.tangosol.net.cache.NearCache.BackServiceListener
All Implemented Interfaces:
MemberListener, EventListener
Enclosing class:
NearCache<K,V>

protected class NearCache.BackServiceListener extends Object implements MemberListener
MemberListener for the back cache's service.

The primary goal of that listener is invalidation of the front map in case of the corresponding CacheService [automatic] restart.

  • Constructor Details

    • BackServiceListener

      protected BackServiceListener()
  • Method Details

    • memberJoined

      public void memberJoined(MemberEvent evt)
      Invoked when a Member has joined the service.
      Specified by:
      memberJoined in interface MemberListener
      Parameters:
      evt - the MemberEvent.MEMBER_JOINED event
    • memberLeaving

      public void memberLeaving(MemberEvent evt)
      Invoked when a Member is leaving the service.
      Specified by:
      memberLeaving in interface MemberListener
      Parameters:
      evt - the MemberEvent.MEMBER_LEAVING event
    • memberLeft

      public void memberLeft(MemberEvent evt)
      Invoked when a Member has left the service.
      Specified by:
      memberLeft in interface MemberListener
      Parameters:
      evt - the MemberEvent.MEMBER_LEFT event