Class HttpJsonRegionNotificationEndpointsStub (1.24.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
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonRegionNotificationEndpointsStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(RegionNotificationEndpointsStubSettings settings)

public static final HttpJsonRegionNotificationEndpointsStub create(RegionNotificationEndpointsStubSettings settings)
Parameter
NameDescription
settingsRegionNotificationEndpointsStubSettings
Returns
TypeDescription
HttpJsonRegionNotificationEndpointsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsRegionNotificationEndpointsStubSettings
clientContextClientContext

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
NameDescription
settingsRegionNotificationEndpointsStubSettings
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<DeleteRegionNotificationEndpointRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteRegionNotificationEndpointRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()