Package io.vertx.core.spi.cluster
Interface ClusteredNode
-
- All Known Subinterfaces:
ClusterManager
- All Known Implementing Classes:
HazelcastClusterManager,IgniteClusterManager,InfinispanClusterManager,ZookeeperClusterManager
public interface ClusteredNodeView of a clustered node.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetNodeId()Return the unique node identifier for this node.NodeInfogetNodeInfo()Get details about this clustered node.voidgetNodeInfo(String nodeId, Completable<NodeInfo> promise)Get details about a specific node in the cluster.List<String>getNodes()Return a list of node identifiers corresponding to the nodes in the cluster.voidgetRegistrations(String address, Completable<List<RegistrationInfo>> promise)Get the messaging handler currently registered in the cluster.
-
-
-
Method Detail
-
getNodeId
String getNodeId()
Return the unique node identifier for this node.
-
getRegistrations
void getRegistrations(String address, Completable<List<RegistrationInfo>> promise)
Get the messaging handler currently registered in the cluster.
-
getNodeInfo
NodeInfo getNodeInfo()
Get details about this clustered node.
-
getNodeInfo
void getNodeInfo(String nodeId, Completable<NodeInfo> promise)
Get details about a specific node in the cluster.- Parameters:
nodeId- the clustered node id
-
-