Class HttpJsonRegionBackendServicesStub (1.6.0-beta)

public class HttpJsonRegionBackendServicesStub extends RegionBackendServicesStub

REST stub implementation for the RegionBackendServices service API.

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

Inheritance

java.lang.Object > RegionBackendServicesStub > HttpJsonRegionBackendServicesStub

Constructors

HttpJsonRegionBackendServicesStub(RegionBackendServicesStubSettings settings, ClientContext clientContext)

protected HttpJsonRegionBackendServicesStub(RegionBackendServicesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonRegionBackendServicesStub, 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
settingsRegionBackendServicesStubSettings
clientContextClientContext

HttpJsonRegionBackendServicesStub(RegionBackendServicesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonRegionBackendServicesStub(RegionBackendServicesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonRegionBackendServicesStub, 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
settingsRegionBackendServicesStubSettings
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

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionBackendServicesStubSettings settings)

public static final HttpJsonRegionBackendServicesStub create(RegionBackendServicesStubSettings settings)
Parameter
NameDescription
settingsRegionBackendServicesStubSettings
Returns
TypeDescription
HttpJsonRegionBackendServicesStub
Exceptions
TypeDescription
IOException

deleteCallable()

public UnaryCallable<DeleteRegionBackendServiceRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteRegionBackendServiceRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteRegionBackendServiceRequest,Operation,Operation> deleteOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteRegionBackendServiceRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetRegionBackendServiceRequest,BackendService> getCallable()
Returns
TypeDescription
UnaryCallable<GetRegionBackendServiceRequest,BackendService>
Overrides

getHealthCallable()

public UnaryCallable<GetHealthRegionBackendServiceRequest,BackendServiceGroupHealth> getHealthCallable()
Returns
TypeDescription
UnaryCallable<GetHealthRegionBackendServiceRequest,BackendServiceGroupHealth>
Overrides

getMethodDescriptors()

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

insertCallable()

public UnaryCallable<InsertRegionBackendServiceRequest,Operation> insertCallable()
Returns
TypeDescription
UnaryCallable<InsertRegionBackendServiceRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertRegionBackendServiceRequest,Operation,Operation> insertOperationCallable()
Returns
TypeDescription
OperationCallable<InsertRegionBackendServiceRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListRegionBackendServicesRequest,BackendServiceList> listCallable()
Returns
TypeDescription
UnaryCallable<ListRegionBackendServicesRequest,BackendServiceList>
Overrides

listPagedCallable()

public UnaryCallable<ListRegionBackendServicesRequest,RegionBackendServicesClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListRegionBackendServicesRequest,ListPagedResponse>
Overrides

patchCallable()

public UnaryCallable<PatchRegionBackendServiceRequest,Operation> patchCallable()
Returns
TypeDescription
UnaryCallable<PatchRegionBackendServiceRequest,Operation>
Overrides

patchOperationCallable()

public OperationCallable<PatchRegionBackendServiceRequest,Operation,Operation> patchOperationCallable()
Returns
TypeDescription
OperationCallable<PatchRegionBackendServiceRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCallable()

public UnaryCallable<UpdateRegionBackendServiceRequest,Operation> updateCallable()
Returns
TypeDescription
UnaryCallable<UpdateRegionBackendServiceRequest,Operation>
Overrides

updateOperationCallable()

public OperationCallable<UpdateRegionBackendServiceRequest,Operation,Operation> updateOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateRegionBackendServiceRequest,Operation,Operation>
Overrides