Package com.tangosol.net.cache
Class NearCache.BackServiceListener
- java.lang.Object
-
- com.tangosol.net.cache.NearCache.BackServiceListener
-
- All Implemented Interfaces:
MemberListener
,EventListener
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 Summary
Constructors Modifier Constructor Description protected
BackServiceListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
memberJoined
public void memberJoined(MemberEvent evt)
Invoked when a Member has joined the service.- Specified by:
memberJoined
in interfaceMemberListener
- 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 interfaceMemberListener
- 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 interfaceMemberListener
- Parameters:
evt
- the MemberEvent.MEMBER_LEFT event
-
-