public interface Group
Modifier and Type | Interface and Description |
---|---|
static interface |
Group.Listener |
Modifier and Type | Method and Description |
---|---|
void |
addListener(Group.Listener listener) |
Node |
getCoordinatorNode()
Returns the group coordinator.
|
Node |
getLocalNode()
Returns the local node.
|
String |
getName()
Returns the name of this group.
|
List<Node> |
getNodes()
Returns the list of nodes that are members of this group.
|
boolean |
isCoordinator()
Indicates whether or not we are the group coordinator.
|
void |
removeListener(Group.Listener listener) |
void addListener(Group.Listener listener)
void removeListener(Group.Listener listener)
String getName()
boolean isCoordinator()
Node getLocalNode()
Node getCoordinatorNode()
Copyright © 2013 JBoss by Red Hat. All rights reserved.