Class GenericWorkflowClientExternalImpl
- java.lang.Object
-
- com.uber.cadence.internal.external.GenericWorkflowClientExternalImpl
-
- All Implemented Interfaces:
GenericWorkflowClientExternal
public final class GenericWorkflowClientExternalImpl extends java.lang.Object implements GenericWorkflowClientExternal
-
-
Constructor Summary
Constructors Constructor Description GenericWorkflowClientExternalImpl(IWorkflowService service, java.lang.String domain, com.uber.m3.tally.Scope metricsScope)
-
Method Summary
-
-
-
Constructor Detail
-
GenericWorkflowClientExternalImpl
public GenericWorkflowClientExternalImpl(IWorkflowService service, java.lang.String domain, com.uber.m3.tally.Scope metricsScope)
-
-
Method Detail
-
getDomain
public java.lang.String getDomain()
- Specified by:
getDomain
in interfaceGenericWorkflowClientExternal
-
getService
public IWorkflowService getService()
- Specified by:
getService
in interfaceGenericWorkflowClientExternal
-
startWorkflow
public WorkflowExecution startWorkflow(StartWorkflowExecutionParameters startParameters) throws WorkflowExecutionAlreadyStartedError
- Specified by:
startWorkflow
in interfaceGenericWorkflowClientExternal
- Throws:
WorkflowExecutionAlreadyStartedError
-
startWorkflowAsync
public java.util.concurrent.CompletableFuture<WorkflowExecution> startWorkflowAsync(StartWorkflowExecutionParameters startParameters)
- Specified by:
startWorkflowAsync
in interfaceGenericWorkflowClientExternal
-
startWorkflowAsync
public java.util.concurrent.CompletableFuture<WorkflowExecution> startWorkflowAsync(StartWorkflowExecutionParameters startParameters, java.lang.Long timeoutInMillis)
- Specified by:
startWorkflowAsync
in interfaceGenericWorkflowClientExternal
-
signalWorkflowExecution
public void signalWorkflowExecution(SignalExternalWorkflowParameters signalParameters)
- Specified by:
signalWorkflowExecution
in interfaceGenericWorkflowClientExternal
-
signalWorkflowExecutionAsync
public java.util.concurrent.CompletableFuture<java.lang.Void> signalWorkflowExecutionAsync(SignalExternalWorkflowParameters signalParameters)
- Specified by:
signalWorkflowExecutionAsync
in interfaceGenericWorkflowClientExternal
-
signalWorkflowExecutionAsync
public java.util.concurrent.CompletableFuture<java.lang.Void> signalWorkflowExecutionAsync(SignalExternalWorkflowParameters signalParameters, java.lang.Long timeoutInMillis)
- Specified by:
signalWorkflowExecutionAsync
in interfaceGenericWorkflowClientExternal
-
signalWithStartWorkflowExecution
public WorkflowExecution signalWithStartWorkflowExecution(SignalWithStartWorkflowExecutionParameters parameters)
- Specified by:
signalWithStartWorkflowExecution
in interfaceGenericWorkflowClientExternal
-
requestCancelWorkflowExecution
public void requestCancelWorkflowExecution(WorkflowExecution execution)
- Specified by:
requestCancelWorkflowExecution
in interfaceGenericWorkflowClientExternal
-
queryWorkflow
public QueryWorkflowResponse queryWorkflow(QueryWorkflowParameters queryParameters)
- Specified by:
queryWorkflow
in interfaceGenericWorkflowClientExternal
-
generateUniqueId
public java.lang.String generateUniqueId()
- Specified by:
generateUniqueId
in interfaceGenericWorkflowClientExternal
-
terminateWorkflowExecution
public void terminateWorkflowExecution(TerminateWorkflowExecutionParameters terminateParameters)
- Specified by:
terminateWorkflowExecution
in interfaceGenericWorkflowClientExternal
-
-