Class HttpJsonRegionInstancesStub (1.15.0)

public class HttpJsonRegionInstancesStub extends RegionInstancesStub

REST stub implementation for the RegionInstances service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > RegionInstancesStub > HttpJsonRegionInstancesStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonRegionInstancesStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonRegionInstancesStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionInstancesStubSettings settings)

public static final HttpJsonRegionInstancesStub create(RegionInstancesStubSettings settings)
Parameter
NameDescription
settingsRegionInstancesStubSettings
Returns
TypeDescription
HttpJsonRegionInstancesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonRegionInstancesStub(RegionInstancesStubSettings settings, ClientContext clientContext)

protected HttpJsonRegionInstancesStub(RegionInstancesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonRegionInstancesStub, 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
settingsRegionInstancesStubSettings
clientContextClientContext

HttpJsonRegionInstancesStub(RegionInstancesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonRegionInstancesStub(RegionInstancesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonRegionInstancesStub, 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
settingsRegionInstancesStubSettings
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

bulkInsertCallable()

public UnaryCallable<BulkInsertRegionInstanceRequest,Operation> bulkInsertCallable()
Returns
TypeDescription
UnaryCallable<BulkInsertRegionInstanceRequest,Operation>
Overrides

bulkInsertOperationCallable()

public OperationCallable<BulkInsertRegionInstanceRequest,Operation,Operation> bulkInsertOperationCallable()
Returns
TypeDescription
OperationCallable<BulkInsertRegionInstanceRequest,Operation,Operation>
Overrides

close()

public final void close()
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()