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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRegionOperationsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(RegionOperationsStubSettings settings)
public static final HttpJsonRegionOperationsStub create(RegionOperationsStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteRegionOperationRequest,DeleteRegionOperationResponse> deleteCallable()
Overrides
getCallable()
public UnaryCallable<GetRegionOperationRequest,Operation> getCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListRegionOperationsRequest,OperationList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListRegionOperationsRequest,RegionOperationsClient.ListPagedResponse> listPagedCallable()
Overrides
longRunningClient()
public LongRunningClient longRunningClient()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
waitCallable()
public UnaryCallable<WaitRegionOperationRequest,Operation> waitCallable()
Overrides