public class GSCTLClient extends Object
Constructor and Description |
---|
GSCTLClient(String url) |
Modifier and Type | Method and Description |
---|---|
Status |
get(String uri) |
ResourcesResponse |
getResources(String Id,
String partitionId) |
ServiceExistResponse |
getServiceExist(String uri) |
Status |
post(String uri,
Object nomadRequestBody) |
void |
waitForStatusUpdate(String requestId) |
void |
waitForStatusUpdateWithListener(String requestId,
PuScaleVStatusChangedEventListener listener) |
public GSCTLClient(String url)
public Status post(String uri, Object nomadRequestBody) throws IOException, BadRequestException, HttpStatusException
public Status get(String uri) throws IOException, BadRequestException, HttpStatusException
public ServiceExistResponse getServiceExist(String uri) throws IOException, BadRequestException, HttpStatusException
public ResourcesResponse getResources(String Id, String partitionId) throws IOException, BadRequestException, HttpStatusException
public void waitForStatusUpdate(String requestId) throws HttpStatusException, BadRequestException, InterruptedException, IOException, StatusException
public void waitForStatusUpdateWithListener(String requestId, PuScaleVStatusChangedEventListener listener) throws HttpStatusException, BadRequestException, InterruptedException, IOException, StatusException
Copyright © GigaSpaces.