Package com.tangosol.net.cache
Class NearCache.BackServiceListener
java.lang.Object
com.tangosol.net.cache.NearCache.BackServiceListener
- All Implemented Interfaces:
MemberListener
,EventListener
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
BackServiceListener
protected BackServiceListener()
-
-
Method Details
-
memberJoined
Invoked when a Member has joined the service.- Specified by:
memberJoined
in interfaceMemberListener
- Parameters:
evt
- the MemberEvent.MEMBER_JOINED event
-
memberLeaving
Invoked when a Member is leaving the service.- Specified by:
memberLeaving
in interfaceMemberListener
- Parameters:
evt
- the MemberEvent.MEMBER_LEAVING event
-
memberLeft
Invoked when a Member has left the service.- Specified by:
memberLeft
in interfaceMemberListener
- Parameters:
evt
- the MemberEvent.MEMBER_LEFT event
-