Interface MembershipListener
- All Known Implementing Classes:
UniversalMembershipListenerAdapter
public interface MembershipListener
A listener whose callback methods are invoked when members join or leave the GemFire distributed
system.
- Since:
- GemFire 8.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidmemberCrashed(MembershipEvent event) Invoked when a member has unexpectedly left the distributed system.voidmemberJoined(MembershipEvent event) Invoked when a member has joined the distributed systemvoidmemberLeft(MembershipEvent event) Invoked when a member has gracefully left the distributed system.
-
Method Details
-
memberJoined
Invoked when a member has joined the distributed system- Parameters:
event- the triggering event
-
memberLeft
Invoked when a member has gracefully left the distributed system. This occurs when the member took action to remove itself from the distributed system.- Parameters:
event- the triggering event
-
memberCrashed
Invoked when a member has unexpectedly left the distributed system. This occurs when a member process terminates abnormally or is forcibly removed from the distributed system by another process, such as from failure detection, or network partition detection processing.- Parameters:
event- the triggering event
-