Class HttpJsonRegionOperationsStub (1.53.0)

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.

Inheritance

java.lang.Object > RegionOperationsStub > HttpJsonRegionOperationsStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonRegionOperationsStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonRegionOperationsStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonRegionOperationsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonRegionOperationsStub
Exceptions
Type Description
IOException

create(RegionOperationsStubSettings settings)

public static final HttpJsonRegionOperationsStub create(RegionOperationsStubSettings settings)
Parameter
Name Description
settings RegionOperationsStubSettings
Returns
Type Description
HttpJsonRegionOperationsStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

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
Name Description
settings RegionOperationsStubSettings
clientContext ClientContext

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
Name Description
settings RegionOperationsStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<DeleteRegionOperationRequest,DeleteRegionOperationResponse> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteRegionOperationRequest,DeleteRegionOperationResponse>
Overrides

getCallable()

public UnaryCallable<GetRegionOperationRequest,Operation> getCallable()
Returns
Type Description
UnaryCallable<GetRegionOperationRequest,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListRegionOperationsRequest,OperationList> listCallable()
Returns
Type Description
UnaryCallable<ListRegionOperationsRequest,OperationList>
Overrides

listPagedCallable()

public UnaryCallable<ListRegionOperationsRequest,RegionOperationsClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListRegionOperationsRequest,ListPagedResponse>
Overrides

longRunningClient()

public LongRunningClient longRunningClient()
Returns
Type Description
LongRunningClient
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

waitCallable()

public UnaryCallable<WaitRegionOperationRequest,Operation> waitCallable()
Returns
Type Description
UnaryCallable<WaitRegionOperationRequest,Operation>
Overrides