public interface WorkflowServiceStubs
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long timeout,
java.util.concurrent.TimeUnit unit) |
io.temporal.api.workflowservice.v1.WorkflowServiceGrpc.WorkflowServiceBlockingStub |
blockingStub() |
io.temporal.api.workflowservice.v1.WorkflowServiceGrpc.WorkflowServiceFutureStub |
futureStub() |
WorkflowServiceStubsOptions |
getOptions() |
boolean |
isShutdown() |
boolean |
isTerminated() |
static WorkflowServiceStubs |
newInstance()
Create gRPC connection stubs using default options.
|
static WorkflowServiceStubs |
newInstance(io.temporal.api.workflowservice.v1.WorkflowServiceGrpc.WorkflowServiceImplBase service,
WorkflowServiceStubsOptions options)
Create gRPC connection stubs that connect to the provided service implementation using an
in-memory channel.
|
static WorkflowServiceStubs |
newInstance(WorkflowServiceStubsOptions options)
Create gRPC connection stubs using provided options.
|
void |
shutdown() |
void |
shutdownNow() |
static WorkflowServiceStubs newInstance()
static WorkflowServiceStubs newInstance(WorkflowServiceStubsOptions options)
static WorkflowServiceStubs newInstance(io.temporal.api.workflowservice.v1.WorkflowServiceGrpc.WorkflowServiceImplBase service, WorkflowServiceStubsOptions options)
io.temporal.api.workflowservice.v1.WorkflowServiceGrpc.WorkflowServiceBlockingStub blockingStub()
io.temporal.api.workflowservice.v1.WorkflowServiceGrpc.WorkflowServiceFutureStub futureStub()
void shutdown()
void shutdownNow()
boolean isShutdown()
boolean isTerminated()
boolean awaitTermination(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
java.lang.InterruptedException
WorkflowServiceStubsOptions getOptions()