public class ChangeClusterStateRequest extends Object implements AsyncConsoleRequest
ClusterState
Constructor and Description |
---|
ChangeClusterStateRequest() |
ChangeClusterStateRequest(String state) |
Modifier and Type | Method and Description |
---|---|
void |
fromJson(com.eclipsesource.json.JsonObject json) |
int |
getType() |
Object |
readResponse(com.eclipsesource.json.JsonObject in) |
com.eclipsesource.json.JsonObject |
toJson() |
void |
writeResponse(ManagementCenterService mcs,
com.eclipsesource.json.JsonObject out) |
public ChangeClusterStateRequest()
public ChangeClusterStateRequest(String state)
public int getType()
getType
in interface ConsoleRequest
public Object readResponse(com.eclipsesource.json.JsonObject in) throws IOException
readResponse
in interface ConsoleRequest
IOException
public void writeResponse(ManagementCenterService mcs, com.eclipsesource.json.JsonObject out) throws Exception
writeResponse
in interface ConsoleRequest
Exception
public com.eclipsesource.json.JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(com.eclipsesource.json.JsonObject json)
fromJson
in interface JsonSerializable
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.