Class HttpJsonRegionOperationsStub (1.31.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonRegionOperationsStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonRegionOperationsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonRegionOperationsStub
Exceptions
TypeDescription
IOException

create(RegionOperationsStubSettings settings)

public static final HttpJsonRegionOperationsStub create(RegionOperationsStubSettings settings)
Parameter
NameDescription
settingsRegionOperationsStubSettings
Returns
TypeDescription
HttpJsonRegionOperationsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsRegionOperationsStubSettings
clientContextClientContext

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
NameDescription
settingsRegionOperationsStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

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

getCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

longRunningClient()

public LongRunningClient longRunningClient()
Returns
TypeDescription
LongRunningClient
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

waitCallable()

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