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)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcServiceControllerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ServiceControllerStubSettings settings)
public static final GrpcServiceControllerStub create(ServiceControllerStubSettings settings)
Parameter
Returns
Exceptions
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.
Parameters
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.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
checkCallable()
public UnaryCallable<CheckRequest,CheckResponse> checkCallable()
Returns
Overrides
close()
public final void close()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
reportCallable()
public UnaryCallable<ReportRequest,ReportResponse> reportCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()