public interface NodeRegistryPlugin extends Plugin
| Modifier and Type | Method and Description |
|---|---|
Optional<Node> |
find(String nodeId)
Find a node in the topology with the given id
|
List<Node> |
getTopology()
Get the whole topology of the app
|
void |
register(Node node)
Register a node
|
void |
unregister(Node node)
Unregister a node
|
void |
updateStatus(Node node)
Update the status of a node
|
void register(Node node)
node - the node to registervoid unregister(Node node)
node - the node to unregisterList<Node> getTopology()
Optional<Node> find(String nodeId)
nodeId - the id to look forvoid updateStatus(Node node)
node - the node to updateCopyright © 2018. All Rights Reserved.