Package io.temporal.serviceclient
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 Modifier and Type Field Description static java.lang.StringHEALTH_CHECK_SERVICE_NAME
-
Method Summary
All Methods Static Methods Deprecated Methods Modifier and Type Method Description static OperatorServiceStubsnewInstance()Deprecated.static OperatorServiceStubsnewInstance(OperatorServiceStubsOptions options)Deprecated.static OperatorServiceStubsnewLocalServiceStubs()Creates OperatorService gRPC stubs pointed on to the locally running Temporal Server.static OperatorServiceStubsnewServiceStubs(OperatorServiceStubsOptions options)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.-
Methods inherited from interface io.temporal.serviceclient.ServiceStubs
awaitTermination, blockingStub, connect, futureStub, getRawChannel, getServerCapabilities, healthCheck, isShutdown, isTerminated, shutdown, shutdownNow
-
-
-
-
Field Detail
-
HEALTH_CHECK_SERVICE_NAME
static final java.lang.String HEALTH_CHECK_SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
static OperatorServiceStubs newInstance()
Deprecated.
-
newInstance
@Deprecated static OperatorServiceStubs newInstance(OperatorServiceStubsOptions options)
Deprecated.
-
newLocalServiceStubs
static OperatorServiceStubs 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
static OperatorServiceStubs newServiceStubs(OperatorServiceStubsOptions options)
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
-
-