Interface OperatorServiceStubs
- All Superinterfaces:
ServiceStubs<OperatorServiceGrpc.OperatorServiceBlockingStub,OperatorServiceGrpc.OperatorServiceFutureStub>
public interface OperatorServiceStubs
extends ServiceStubs<OperatorServiceGrpc.OperatorServiceBlockingStub,OperatorServiceGrpc.OperatorServiceFutureStub>
Initializes and holds gRPC blocking and future stubs.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic OperatorServiceStubsDeprecated.static OperatorServiceStubsnewInstance(OperatorServiceStubsOptions options) Deprecated.static OperatorServiceStubsCreates OperatorService gRPC stubs pointed on to the locally running Temporal Server.static OperatorServiceStubsCreates OperatorService gRPC stubs
This method creates stubs with lazy connectivity, connection is not performed during the creation time and happens on the first request.Methods inherited from interface io.temporal.serviceclient.ServiceStubs
awaitTermination, blockingStub, connect, futureStub, getRawChannel, getServerCapabilities, healthCheck, isShutdown, isTerminated, shutdown, shutdownNow
-
Field Details
-
HEALTH_CHECK_SERVICE_NAME
- See Also:
-
-
Method Details
-
newInstance
Deprecated. -
newInstance
Deprecated. -
newLocalServiceStubs
Creates OperatorService gRPC stubs pointed on to the locally running Temporal Server. The Server should be available on 127.0.0.1:7233 -
newServiceStubs
Creates OperatorService gRPC stubs
This method creates stubs with lazy connectivity, connection is not performed during the creation time and happens on the first request.- Parameters:
options- stub options to use
-
newLocalServiceStubs()