public interface Group extends Registrar<GroupListener>
Modifier and Type | Interface and Description |
---|---|
static interface |
Group.Listener
Deprecated.
Replaced by
GroupListener . |
Modifier and Type | Method and Description |
---|---|
default void |
addListener(Group.Listener listener)
Deprecated.
Replaced by
#register(GroupListener) . |
default Node |
getCoordinatorNode()
Deprecated.
Replaced by
Membership.getCoordinator() . |
Node |
getLocalMember()
Returns the local member.
|
default Node |
getLocalNode()
Deprecated.
Replaced by
getLocalMember() . |
Membership |
getMembership()
Gets the current membership of this group
|
String |
getName()
Returns the logical name of this group.
|
default List<Node> |
getNodes()
Deprecated.
Replaced by
Membership#getNodes() . |
default boolean |
isCoordinator()
Deprecated.
Replaced by
Membership.isCoordinator() . |
default boolean |
isLocal()
Deprecated.
Replaced by
isSingleton() . |
boolean |
isSingleton()
Indicates whether or not this is a singleton group.
|
void |
removeListener(Group.Listener listener)
Deprecated.
Replaced by
Registration.close() |
@Deprecated default void addListener(Group.Listener listener)
#register(GroupListener)
.listener
- listener to be added@Deprecated void removeListener(Group.Listener listener)
Registration.close()
listener
- listener to be removedString getName()
@Deprecated default boolean isCoordinator()
Membership.isCoordinator()
.@Deprecated default Node getLocalNode()
getLocalMember()
.Node getLocalMember()
@Deprecated default Node getCoordinatorNode()
Membership.getCoordinator()
.@Deprecated default List<Node> getNodes()
Membership#getNodes()
.Membership getMembership()
@Deprecated default boolean isLocal()
isSingleton()
.boolean isSingleton()
Copyright © 2019 JBoss by Red Hat. All rights reserved.