public class GrpcServiceControllerStub extends ServiceControllerStub
gRPC stub implementation for the ServiceController service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcServiceControllerStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcServiceControllerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(ServiceControllerStubSettings settings)
public static final GrpcServiceControllerStub create(ServiceControllerStubSettings settings)
Constructors
GrpcServiceControllerStub(ServiceControllerStubSettings settings, ClientContext clientContext)
protected GrpcServiceControllerStub(ServiceControllerStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcServiceControllerStub, 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.
GrpcServiceControllerStub(ServiceControllerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcServiceControllerStub(ServiceControllerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcServiceControllerStub, 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)
checkCallable()
public UnaryCallable<CheckRequest,CheckResponse> checkCallable()
Overrides
close()
public final void close()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
reportCallable()
public UnaryCallable<ReportRequest,ReportResponse> reportCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()