public class GSCTLClient extends Object
Constructor and Description |
---|
GSCTLClient(String url) |
Modifier and Type | Method and Description |
---|---|
Status |
get(String uri) |
<T> T |
get(String uri,
Class<T> responseType) |
ResourcesResponse |
getResources(String Id,
String partitionId) |
ServiceExistResponse |
getServiceExist(String uri) |
Status |
post(String uri,
Object nomadRequestBody) |
void |
waitForStatusUpdate(String requestId) |
void |
waitForStatusUpdate(String requestId,
String puName,
Integer partitionId,
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 <T> T get(String uri, Class<T> responseType) 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 waitForStatusUpdate(String requestId, String puName, Integer partitionId, PuScaleVStatusChangedEventListener listener) throws HttpStatusException, BadRequestException, InterruptedException, IOException, StatusException
Copyright © GigaSpaces.