Package io.vertx.core.spi.cluster
Interface ClusteredNode
-
- All Known Subinterfaces:
ClusterManager
- All Known Implementing Classes:
HazelcastClusterManager
,IgniteClusterManager
,InfinispanClusterManager
,ZookeeperClusterManager
public interface ClusteredNode
View of a clustered node.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getNodeId()
Return the unique node identifier for this node.NodeInfo
getNodeInfo()
Get details about this clustered node.void
getNodeInfo(String nodeId, Promise<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.void
getRegistrations(String address, Promise<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, Promise<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, Promise<NodeInfo> promise)
Get details about a specific node in the cluster.- Parameters:
nodeId
- the clustered node id
-
-