Class GridRestChangeStateRequest
- java.lang.Object
-
- org.apache.ignite.internal.processors.rest.request.GridRestRequest
-
- org.apache.ignite.internal.processors.rest.request.GridRestChangeStateRequest
-
public class GridRestChangeStateRequest extends GridRestRequest
-
-
Constructor Summary
Constructors Constructor Description GridRestChangeStateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanactive()voidactive(boolean active)booleanforceDeactivation()voidforceDeactivation(boolean forceDeactivation)booleanisReqCurrentState()voidreqCurrentState()-
Methods inherited from class org.apache.ignite.internal.processors.rest.request.GridRestRequest
address, address, certificates, certificates, clientId, clientId, command, command, credentials, credentials, destinationId, destinationId, sessionToken, sessionToken, toString, userAttributes, userAttributes
-
-
-
-
Method Detail
-
active
public boolean active()
-
active
public void active(boolean active)
-
isReqCurrentState
public boolean isReqCurrentState()
-
reqCurrentState
public void reqCurrentState()
-
forceDeactivation
public void forceDeactivation(boolean forceDeactivation)
- Parameters:
forceDeactivation- Iftrue, cluster deactivation will be forced.
-
forceDeactivation
public boolean forceDeactivation()
- Returns:
Trueif cluster deactivation will be forced.Falseotherwise.- See Also:
ClusterState.INACTIVE
-
-