public class HttpJsonRegionOperationsStub extends RegionOperationsStub
REST stub implementation for the RegionOperations service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonRegionOperationsStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRegionOperationsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(RegionOperationsStubSettings settings)
public static final HttpJsonRegionOperationsStub create(RegionOperationsStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonRegionOperationsStub(RegionOperationsStubSettings settings, ClientContext clientContext)
protected HttpJsonRegionOperationsStub(RegionOperationsStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonRegionOperationsStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Parameters
HttpJsonRegionOperationsStub(RegionOperationsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonRegionOperationsStub(RegionOperationsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRegionOperationsStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteRegionOperationRequest,DeleteRegionOperationResponse> deleteCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetRegionOperationRequest,Operation> getCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListRegionOperationsRequest,OperationList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListRegionOperationsRequest,RegionOperationsClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
longRunningClient()
public LongRunningClient longRunningClient()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
waitCallable()
public UnaryCallable<WaitRegionOperationRequest,Operation> waitCallable()
Returns
Overrides