Interface | Description |
---|---|
ActivityStub |
ActivityStub is used to call an activity without referencing an interface it implements.
|
CancellationScope |
Handle to a cancellation scope created through
Workflow.newCancellationScope(Runnable) or
Workflow.newDetachedCancellationScope(Runnable) . |
ChildWorkflowStub |
Supports starting and signalling child workflows by the name and list of arguments.
|
CompletablePromise<V> |
Promise that exposes completion methods. |
ExternalWorkflowStub |
Supports signalling and cancelling any workflows by the workflow type and their id.
|
Functions.Func<R> | |
Functions.Func1<T1,R> | |
Functions.Func2<T1,T2,R> | |
Functions.Func3<T1,T2,T3,R> | |
Functions.Func4<T1,T2,T3,T4,R> | |
Functions.Func5<T1,T2,T3,T4,T5,R> | |
Functions.Func6<T1,T2,T3,T4,T5,T6,R> | |
Functions.Proc | |
Functions.Proc1<T1> | |
Functions.Proc2<T1,T2> | |
Functions.Proc3<T1,T2,T3> | |
Functions.Proc4<T1,T2,T3,T4> | |
Functions.Proc5<T1,T2,T3,T4,T5> | |
Functions.Proc6<T1,T2,T3,T4,T5,T6> | |
Promise<V> |
Contains result of an asynchronous computation.
|
QueueConsumer<E> | |
QueueProducer<E> | |
WorkflowInfo | |
WorkflowInterceptor | |
WorkflowQueue<E> |
Class | Description |
---|---|
Async |
Supports invoking lambdas and activity and child workflow references asynchronously.
|
ChildWorkflowOptions | |
ChildWorkflowOptions.Builder | |
ContinueAsNewOptions | |
ContinueAsNewOptions.Builder | |
Functions | |
Workflow |
Workflow encapsulates the orchestration of activities and child workflows.
|
WorkflowInterceptor.WorkflowResult<R> | |
WorkflowInterceptorBase |
Convenience base class for WorkflowInterceptor implementations.
|
WorkflowLocal<T> |
A value that is local to a single workflow execution.
|
WorkflowThreadLocal<T> |
ThreadLocal analog for workflow code. |
Exception | Description |
---|---|
ActivityException |
Exception used to communicate failure of a remote activity.
|
ActivityFailureException |
Indicates that an activity implementation threw an unhandled exception.
|
ActivityTimeoutException |
ActivityTimeoutException indicates that an activity has timed out.
|
CancelExternalWorkflowException |
Exception used to communicate failure of a request to signal an external workflow.
|
ChildWorkflowException |
Base exception for failures of a child workflow.
|
ChildWorkflowFailureException |
Indicates that a child workflow failed.
|
ChildWorkflowTerminatedException |
Indicates that child workflow was forcefully terminated by an external command to Cadence
service.
|
ChildWorkflowTimedOutException |
Indicates that a child workflow exceeded its execution timeout and was forcefully terminated by
the Cadence service.
|
SignalExternalWorkflowException |
Exception used to communicate failure of a request to signal an external workflow.
|
StartChildWorkflowFailedException |
Indicates that child workflow failed to start.
|
WorkflowOperationException |
Base exception used to communicate a failure that can be thrown by operations requested by a
workflow code.
|
Annotation Type | Description |
---|---|
QueryMethod |
Indicates that the method is a query method.
|
SignalMethod |
Indicates that the method is a signal handler method.
|
WorkflowMethod |
Indicates that the method is a workflow method.
|