|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MembershipListener
In order to be notified of membership events like view changes, an object must implement this interface.
Nested Class Summary | |
---|---|
static interface |
MembershipListener.AllowDuplicateViews
Annotation marker used to indicate that the viewChange()
method should allow invocations in which the two consecutive views have the
same set of members. |
Method Summary | |
---|---|
void |
hasLeft()
Upcall that is invoked by Jgroup to acknowledge the fact that this object has left the group. |
void |
prepareChange()
Upcall that is invoked by the group membership service to notify that the current view is not valid any more, and the group membership service is trying to reach an agreement on a new view. |
void |
viewChange(View view)
Upcall invoked on members implementing the MembershipListener
interface, when a view change occurs. |
Method Detail |
---|
void viewChange(View view)
MembershipListener
interface, when a view change occurs.
view
- The new view that has been installed.MembershipService
void prepareChange()
MembershipService
void hasLeft()
leave
method has been invoked on the group membership
service.
MembershipService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |