public class GridClientClusterStateRequestV2 extends GridClientClusterStateRequest
GridClientClusterStateRequest.
Introduced to support forced version of the change state command and keep backward compatibility
with nodes of old version that may occur in cluster at the rolling updates.state| Constructor and Description |
|---|
GridClientClusterStateRequestV2() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
forceDeactivation() |
void |
readExternal(ObjectInput in) |
static GridClientClusterStateRequestV2 |
state(ClusterState state,
boolean forceDeactivation) |
void |
writeExternal(ObjectOutput out) |
currentState, isReqCurrentState, state, stateclientId, clientId, destinationId, destinationId, requestId, requestId, sessionToken, sessionToken, toStringpublic boolean forceDeactivation()
True if cluster deactivation will be forced. False otherwise.ClusterState.INACTIVEpublic static GridClientClusterStateRequestV2 state(ClusterState state, boolean forceDeactivation)
state - New cluster state.forceDeactivation - If true, cluster deactivation will be forced.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class GridClientClusterStateRequestIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class GridClientClusterStateRequestIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021