Oracle® Coherence Java API Reference
v3.5.3

E15583-01

com.tangosol.net.cache
Class NearCache.BackServiceListener

java.lang.Object
  extended by com.tangosol.net.cache.NearCache.BackServiceListener
All Implemented Interfaces:
MemberListener, java.util.EventListener
Enclosing class:
NearCache

protected class NearCache.BackServiceListener
extends java.lang.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 Summary
protected NearCache.BackServiceListener()
           
 
Method Summary
 void memberJoined(MemberEvent evt)
          Invoked when a Member has joined the service.
 void memberLeaving(MemberEvent evt)
          Invoked when a Member is leaving the service.
 void memberLeft(MemberEvent evt)
          Invoked when a Member has left the service.
 

Constructor Detail

NearCache.BackServiceListener

protected NearCache.BackServiceListener()
Method Detail

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

Oracle® Coherence Java API Reference
v3.5.3

E15583-01

Copyright © 2000, 2010, Oracle. All rights reserved.