public final class WorkflowServiceStubsImpl extends java.lang.Object implements WorkflowServiceStubs
Constructor and Description |
---|
WorkflowServiceStubsImpl(io.temporal.proto.workflowservice.WorkflowServiceGrpc.WorkflowServiceImplBase serviceImpl,
WorkflowServiceStubsOptions options)
Creates a factory that connects to the Temporal according to the specified options.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long timeout,
java.util.concurrent.TimeUnit unit) |
io.temporal.proto.workflowservice.WorkflowServiceGrpc.WorkflowServiceBlockingStub |
blockingStub() |
io.temporal.proto.workflowservice.WorkflowServiceGrpc.WorkflowServiceFutureStub |
futureStub() |
WorkflowServiceStubsOptions |
getOptions() |
boolean |
isShutdown() |
boolean |
isTerminated() |
void |
shutdown() |
void |
shutdownNow() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newInstance, newInstance, newInstance
public WorkflowServiceStubsImpl(io.temporal.proto.workflowservice.WorkflowServiceGrpc.WorkflowServiceImplBase serviceImpl, WorkflowServiceStubsOptions options)
public io.temporal.proto.workflowservice.WorkflowServiceGrpc.WorkflowServiceBlockingStub blockingStub()
blockingStub
in interface WorkflowServiceStubs
public io.temporal.proto.workflowservice.WorkflowServiceGrpc.WorkflowServiceFutureStub futureStub()
futureStub
in interface WorkflowServiceStubs
public void shutdown()
shutdown
in interface WorkflowServiceStubs
public void shutdownNow()
shutdownNow
in interface WorkflowServiceStubs
public boolean awaitTermination(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
awaitTermination
in interface WorkflowServiceStubs
java.lang.InterruptedException
public WorkflowServiceStubsOptions getOptions()
getOptions
in interface WorkflowServiceStubs
public boolean isShutdown()
isShutdown
in interface WorkflowServiceStubs
public boolean isTerminated()
isTerminated
in interface WorkflowServiceStubs