Package org.apache.axis2.clustering
Interface MembershipListener
-
- All Known Implementing Classes:
MembershipListenerImpl
public interface MembershipListener
This is the interface which will be notified when memership changes. If some specific activities need to be performed when membership changes occur, you can provide an implementation of this interface in the axis2.xml
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
memberAdded(Member member, boolean isLocalMemberCoordinator)
Method which will be called when a member is addedvoid
memberDisappeared(Member member, boolean isLocalMemberCoordinator)
Method which will be called when a member dissapears
-
-
-
Method Detail
-
memberAdded
void memberAdded(Member member, boolean isLocalMemberCoordinator)
Method which will be called when a member is added- Parameters:
member
- The member which was addedisLocalMemberCoordinator
- true - if the local member is the coordinator
-
memberDisappeared
void memberDisappeared(Member member, boolean isLocalMemberCoordinator)
Method which will be called when a member dissapears- Parameters:
member
- The member which disappearedisLocalMemberCoordinator
- true - if the local member is the coordinator
-
-