public interface GridClientClusterState
| Modifier and Type | Method and Description |
|---|---|
String |
clusterName()
Get the cluster name.
|
UUID |
id()
Unique identifier of cluster STATE command was sent to.
|
ClusterState |
state() |
void |
state(ClusterState newState,
boolean forceDeactivation)
Changes cluster state to
newState. |
String |
tag()
User-defined tag of cluster STATE command was sent to.
|
ClusterState state() throws GridClientException
GridClientException - If the request to get the cluster state failed.UUID id() throws GridClientException
GridClientExceptionString tag() throws GridClientException
GridClientExceptionvoid state(ClusterState newState, boolean forceDeactivation) throws GridClientException
newState.newState - New cluster state.forceDeactivation - If true, cluster deactivation will be forced.GridClientException - If the request to change the cluster state failed.ClusterState.INACTIVEString clusterName() throws GridClientException
GridClientException - If the request to get the cluster name failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021