Class HttpJsonRegionHealthCheckServicesStub (1.62.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
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonRegionHealthCheckServicesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionHealthCheckServicesStubSettings settings)

public static final HttpJsonRegionHealthCheckServicesStub create(RegionHealthCheckServicesStubSettings settings)
Parameter
Name Description
settings RegionHealthCheckServicesStubSettings
Returns
Type Description
HttpJsonRegionHealthCheckServicesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
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
Name Description
settings RegionHealthCheckServicesStubSettings
clientContext ClientContext

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
Name Description
settings RegionHealthCheckServicesStubSettings
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<DeleteRegionHealthCheckServiceRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteRegionHealthCheckServiceRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()