public class GrpcTopicStatsServiceStub extends TopicStatsServiceStub
gRPC stub implementation for the TopicStatsService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcTopicStatsServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcTopicStatsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(TopicStatsServiceStubSettings settings)
public static final GrpcTopicStatsServiceStub create(TopicStatsServiceStubSettings settings)
Constructors
GrpcTopicStatsServiceStub(TopicStatsServiceStubSettings settings, ClientContext clientContext)
protected GrpcTopicStatsServiceStub(TopicStatsServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcTopicStatsServiceStub, 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.
GrpcTopicStatsServiceStub(TopicStatsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcTopicStatsServiceStub(TopicStatsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcTopicStatsServiceStub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
computeHeadCursorCallable()
public UnaryCallable<ComputeHeadCursorRequest,ComputeHeadCursorResponse> computeHeadCursorCallable()
Overrides
computeMessageStatsCallable()
public UnaryCallable<ComputeMessageStatsRequest,ComputeMessageStatsResponse> computeMessageStatsCallable()
Overrides
computeTimeCursorCallable()
public UnaryCallable<ComputeTimeCursorRequest,ComputeTimeCursorResponse> computeTimeCursorCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
shutdown()
shutdownNow()
public void shutdownNow()