Class HttpJsonRegionNotificationEndpointsStub (1.65.0)

public class HttpJsonRegionNotificationEndpointsStub extends RegionNotificationEndpointsStub

REST stub implementation for the RegionNotificationEndpoints service API.

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

Inheritance

java.lang.Object > RegionNotificationEndpointsStub > HttpJsonRegionNotificationEndpointsStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonRegionNotificationEndpointsStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonRegionNotificationEndpointsStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionNotificationEndpointsStubSettings settings)

public static final HttpJsonRegionNotificationEndpointsStub create(RegionNotificationEndpointsStubSettings settings)
Parameter
Name Description
settings RegionNotificationEndpointsStubSettings
Returns
Type Description
HttpJsonRegionNotificationEndpointsStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonRegionNotificationEndpointsStub(RegionNotificationEndpointsStubSettings settings, ClientContext clientContext)

protected HttpJsonRegionNotificationEndpointsStub(RegionNotificationEndpointsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonRegionNotificationEndpointsStub, 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 RegionNotificationEndpointsStubSettings
clientContext ClientContext

HttpJsonRegionNotificationEndpointsStub(RegionNotificationEndpointsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonRegionNotificationEndpointsStub(RegionNotificationEndpointsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonRegionNotificationEndpointsStub, 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 RegionNotificationEndpointsStubSettings
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<DeleteRegionNotificationEndpointRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteRegionNotificationEndpointRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

public UnaryCallable<GetRegionNotificationEndpointRequest,NotificationEndpoint> getCallable()
Returns
Type Description
UnaryCallable<GetRegionNotificationEndpointRequest,NotificationEndpoint>
Overrides

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListRegionNotificationEndpointsRequest,NotificationEndpointList> listCallable()
Returns
Type Description
UnaryCallable<ListRegionNotificationEndpointsRequest,NotificationEndpointList>
Overrides

listPagedCallable()

public UnaryCallable<ListRegionNotificationEndpointsRequest,RegionNotificationEndpointsClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListRegionNotificationEndpointsRequest,ListPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()