public abstract class DirectoryChangedListener
extends java.lang.Object
Constructor and Description |
---|
DirectoryChangedListener() |
Modifier and Type | Method and Description |
---|---|
abstract void |
doDirectoryChangedAction(java.util.List<NodeInfo> new_peers,
java.util.List<NodeInfo> added_nodes,
java.util.List<NodeInfo> dropped_nodes,
int role)
Listener action to invoke when the directory has been updated
|
public abstract void doDirectoryChangedAction(java.util.List<NodeInfo> new_peers, java.util.List<NodeInfo> added_nodes, java.util.List<NodeInfo> dropped_nodes, int role)
new_peers
- the list of new peers in the directory.added_nodes
- list of nodes that have been added.dropped_nodes
- list of nodes that have been dropped.role
- the role of this directory.