public abstract class AbstractLocalGroup<A> extends Object implements Group<A>, Registration
GroupListener are never invoked, as membership of a local group is fixed.| Constructor and Description |
|---|
AbstractLocalGroup(String nodeName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Node |
createNode(A address) |
Node |
getLocalMember() |
Membership |
getMembership() |
String |
getName() |
boolean |
isSingleton() |
Registration |
register(GroupListener listener) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAddresspublic AbstractLocalGroup(String nodeName)
public void close()
close in interface AutoCloseableclose in interface Registrationpublic Registration register(GroupListener listener)
register in interface Registrar<GroupListener>public Node getLocalMember()
getLocalMember in interface Grouppublic Membership getMembership()
getMembership in interface Grouppublic boolean isSingleton()
isSingleton in interface Grouppublic Node createNode(A address)
createNode in interface NodeFactory<A>Copyright © 2023 JBoss by Red Hat. All rights reserved.