Class HttpJsonRegionHealthCheckServicesStub (1.11.0)

public class HttpJsonRegionHealthCheckServicesStub extends RegionHealthCheckServicesStub

REST stub implementation for the RegionHealthCheckServices service API.

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

Inheritance

java.lang.Object > RegionHealthCheckServicesStub > HttpJsonRegionHealthCheckServicesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionHealthCheckServicesStubSettings settings)

public static final HttpJsonRegionHealthCheckServicesStub create(RegionHealthCheckServicesStubSettings settings)
Parameter
NameDescription
settingsRegionHealthCheckServicesStubSettings
Returns
TypeDescription
HttpJsonRegionHealthCheckServicesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

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

Constructors

HttpJsonRegionHealthCheckServicesStub(RegionHealthCheckServicesStubSettings settings, ClientContext clientContext)

protected HttpJsonRegionHealthCheckServicesStub(RegionHealthCheckServicesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonRegionHealthCheckServicesStub, 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
settingsRegionHealthCheckServicesStubSettings
clientContextClientContext

HttpJsonRegionHealthCheckServicesStub(RegionHealthCheckServicesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonRegionHealthCheckServicesStub(RegionHealthCheckServicesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonRegionHealthCheckServicesStub, 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
settingsRegionHealthCheckServicesStubSettings
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<DeleteRegionHealthCheckServiceRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteRegionHealthCheckServiceRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

public UnaryCallable<GetRegionHealthCheckServiceRequest,HealthCheckService> getCallable()
Returns
TypeDescription
UnaryCallable<GetRegionHealthCheckServiceRequest,HealthCheckService>
Overrides

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListRegionHealthCheckServicesRequest,HealthCheckServicesList> listCallable()
Returns
TypeDescription
UnaryCallable<ListRegionHealthCheckServicesRequest,HealthCheckServicesList>
Overrides

listPagedCallable()

public UnaryCallable<ListRegionHealthCheckServicesRequest,RegionHealthCheckServicesClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListRegionHealthCheckServicesRequest,ListPagedResponse>
Overrides

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()