public class ForceStartNodeRequest extends Object implements ConsoleRequest
Modifier and Type | Field and Description |
---|---|
static String |
FAILED_RESULT
Result sent within response when force start triggering failed
|
static String |
SUCCESS_RESULT
Result sent within response when force start is triggered successfully
|
Constructor and Description |
---|
ForceStartNodeRequest() |
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 static final String SUCCESS_RESULT
public static final String FAILED_RESULT
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 © 2016 Hazelcast, Inc.. All Rights Reserved.