Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.ha.framework.interfaces
Interface HAPartition.HAMembershipListener

All Known Subinterfaces:
  HAPartition.AsynchHAMembershipExtendedListener, HAPartition.AsynchHAMembershipListener, HAPartition.HAMembershipExtendedListener

All Known Implementing Classes:
  DistributedReplicantManagerImpl, TopologyMonitorService

Enclosing interface:
  HAPartition

public static interface HAPartition.HAMembershipListener

When a new node joins the cluster or an existing node leaves the cluster (or simply dies), membership events are raised.

Method Summary
`void` | `membershipChanged(Vector deadMembers, Vector newMembers, Vector allMembers)` Called when a new partition topology occurs.

Method Detail

### membershipChanged

    public void membershipChanged(Vector deadMembers,
                                  Vector newMembers,
                                  Vector allMembers)

  Called when a new partition topology occurs. This callback is made using the JG protocol handler thread and so you cannot execute new cluster calls that need this thread. If you need to do that implement the aynchronous version of the listener interface.

  Parameters:
    `deadMembers` - A list of nodes that have died since the previous view
    `newMembers` - A list of nodes that have joined the partition since the previous view
    `allMembers` - A list of nodes that built the current view

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.