Class GenericWorkflowClientImpl
- java.lang.Object
-
- io.temporal.internal.client.external.GenericWorkflowClientImpl
-
- All Implemented Interfaces:
GenericWorkflowClient
public final class GenericWorkflowClientImpl extends java.lang.Object implements GenericWorkflowClient
-
-
Constructor Summary
Constructors Constructor Description GenericWorkflowClientImpl(io.temporal.serviceclient.WorkflowServiceStubs service, com.uber.m3.tally.Scope metricsScope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse
getWorkflowExecutionHistory(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request)
java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse>
getWorkflowExecutionHistoryAsync(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request)
io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse
listWorkflowExecutions(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest listRequest)
java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse>
listWorkflowExecutionsAsync(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest listRequest)
io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse
longPollHistory(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request, io.grpc.Deadline deadline)
java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse>
longPollHistoryAsync(io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request, io.grpc.Deadline deadline)
io.temporal.api.workflowservice.v1.QueryWorkflowResponse
query(io.temporal.api.workflowservice.v1.QueryWorkflowRequest queryParameters)
void
requestCancel(io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest request)
void
signal(io.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest request)
io.temporal.api.common.v1.WorkflowExecution
signalWithStart(io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest request)
io.temporal.api.common.v1.WorkflowExecution
start(io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest request)
void
terminate(io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest request)
-
-
-
Method Detail
-
start
public io.temporal.api.common.v1.WorkflowExecution start(io.temporal.api.workflowservice.v1.StartWorkflowExecutionRequest request)
- Specified by:
start
in interfaceGenericWorkflowClient
-
signal
public void signal(io.temporal.api.workflowservice.v1.SignalWorkflowExecutionRequest request)
- Specified by:
signal
in interfaceGenericWorkflowClient
-
signalWithStart
public io.temporal.api.common.v1.WorkflowExecution signalWithStart(io.temporal.api.workflowservice.v1.SignalWithStartWorkflowExecutionRequest request)
- Specified by:
signalWithStart
in interfaceGenericWorkflowClient
-
requestCancel
public void requestCancel(io.temporal.api.workflowservice.v1.RequestCancelWorkflowExecutionRequest request)
- Specified by:
requestCancel
in interfaceGenericWorkflowClient
-
terminate
public void terminate(io.temporal.api.workflowservice.v1.TerminateWorkflowExecutionRequest request)
- Specified by:
terminate
in interfaceGenericWorkflowClient
-
longPollHistory
public io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse longPollHistory(@Nonnull io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request, @Nonnull io.grpc.Deadline deadline)
- Specified by:
longPollHistory
in interfaceGenericWorkflowClient
-
longPollHistoryAsync
public java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse> longPollHistoryAsync(@Nonnull io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request, @Nonnull io.grpc.Deadline deadline)
- Specified by:
longPollHistoryAsync
in interfaceGenericWorkflowClient
-
getWorkflowExecutionHistory
public io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse getWorkflowExecutionHistory(@Nonnull io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request)
- Specified by:
getWorkflowExecutionHistory
in interfaceGenericWorkflowClient
-
getWorkflowExecutionHistoryAsync
public java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryResponse> getWorkflowExecutionHistoryAsync(@Nonnull io.temporal.api.workflowservice.v1.GetWorkflowExecutionHistoryRequest request)
- Specified by:
getWorkflowExecutionHistoryAsync
in interfaceGenericWorkflowClient
-
query
public io.temporal.api.workflowservice.v1.QueryWorkflowResponse query(io.temporal.api.workflowservice.v1.QueryWorkflowRequest queryParameters)
- Specified by:
query
in interfaceGenericWorkflowClient
-
listWorkflowExecutions
public io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse listWorkflowExecutions(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest listRequest)
- Specified by:
listWorkflowExecutions
in interfaceGenericWorkflowClient
-
listWorkflowExecutionsAsync
public java.util.concurrent.CompletableFuture<io.temporal.api.workflowservice.v1.ListWorkflowExecutionsResponse> listWorkflowExecutionsAsync(io.temporal.api.workflowservice.v1.ListWorkflowExecutionsRequest listRequest)
- Specified by:
listWorkflowExecutionsAsync
in interfaceGenericWorkflowClient
-
-