public interface NodeChangeListener
Modifier and Type | Method and Description |
---|---|
void |
nodeAdded(short id)
Invoked when a new node (group) has joined the cluster.
|
void |
nodeRemoved(short id)
Invoked when a node (group) has left the cluster.
|
void |
nodeSwitched(short id)
Invoked when a node group's master has changed.
|
void nodeAdded(short id)
id
- The node (group) ID.void nodeSwitched(short id)
id
- The node (group) ID.void nodeRemoved(short id)
id
- The node (group) ID.