use of com.hazelcast.internal.management.request.ConsoleRequest in project hazelcast by hazelcast.
the class TriggerPartialStartRequestTest method triggerPartialStart.
public static String triggerPartialStart(HazelcastInstance hz) throws Exception {
ManagementCenterService managementCenterService = getNode(hz).getManagementCenterService();
ConsoleRequest request = new TriggerPartialStartRequest();
JsonObject jsonObject = new JsonObject();
request.writeResponse(managementCenterService, jsonObject);
return String.valueOf(request.readResponse(jsonObject));
}
Aggregations