public interface ClusterAdminService extends ClusterService
Modifier and Type | Method and Description |
---|---|
ControllerNode |
addNode(NodeId nodeId,
IpAddress ip,
int tcpPort)
Deprecated.
since 1.14
|
void |
formCluster(Set<ControllerNode> nodes)
Deprecated.
since 1.14
|
void |
formCluster(Set<ControllerNode> nodes,
int partitionSize)
Deprecated.
since 1.14
|
void |
markFullyStarted(boolean started)
Marks the current node as fully started or not.
|
void |
removeNode(NodeId nodeId)
Deprecated.
since 1.14
|
getConsensusNodes, getLastUpdated, getLastUpdatedInstant, getLocalNode, getNode, getNodes, getState, getVersion, localStatus
addListener, removeListener
@Deprecated void formCluster(Set<ControllerNode> nodes)
nodes
- set of nodes that form the cluster@Deprecated void formCluster(Set<ControllerNode> nodes, int partitionSize)
nodes
- set of nodes that form the clusterpartitionSize
- number of nodes to compose a partition@Deprecated ControllerNode addNode(NodeId nodeId, IpAddress ip, int tcpPort)
nodeId
- controller node identifierip
- node IP listen addresstcpPort
- tcp listen port@Deprecated void removeNode(NodeId nodeId)
nodeId
- controller node identifiervoid markFullyStarted(boolean started)
started
- true indicates all components have been started