Class HttpJsonRegionHealthCheckServicesStub (1.42.0)

See more code actions.
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
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionHealthCheckServicesStubSettings settings)

public static final HttpJsonRegionHealthCheckServicesStub create(RegionHealthCheckServicesStubSettings settings)
Parameter
NameDescription
settingsRegionHealthCheckServicesStubSettings
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()
Overrides

deleteOperationCallable()

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

getCallable()

public UnaryCallable<GetRegionHealthCheckServiceRequest,HealthCheckService> getCallable()
Overrides

insertCallable()

public UnaryCallable<InsertRegionHealthCheckServiceRequest,Operation> insertCallable()
Overrides

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListRegionHealthCheckServicesRequest,HealthCheckServicesList> listCallable()
Overrides

listPagedCallable()

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

patchCallable()

public UnaryCallable<PatchRegionHealthCheckServiceRequest,Operation> patchCallable()
Overrides

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()