public class GridRestClusterStateRequest extends GridRestRequest
Modifier and Type | Field and Description |
---|---|
static String |
ARG_FORCE
Flag of forced cluster deactivation.
|
Constructor and Description |
---|
GridRestClusterStateRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
forceDeactivation() |
void |
forceDeactivation(boolean forceDeactivation) |
boolean |
isReqCurrentMode() |
void |
reqCurrentMode() |
ClusterState |
state() |
void |
state(ClusterState state)
Sets new cluster state to request.
|
address, address, authorizationContext, authorizationContext, certificates, certificates, clientId, clientId, command, command, credentials, credentials, destinationId, destinationId, sessionToken, sessionToken, toString, userAttributes, userAttributes
public static final String ARG_FORCE
public void forceDeactivation(boolean forceDeactivation)
forceDeactivation
- If true
, cluster deactivation will be forced.public void reqCurrentMode()
public boolean isReqCurrentMode()
public boolean forceDeactivation()
True
if cluster deactivation will be forced. False
otherwise.ClusterState.INACTIVE
public ClusterState state()
public void state(ClusterState state)
state
- New cluster state.NullPointerException
- If state
is null.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021