Package akka.javasdk.workflow
Class Workflow.AsyncCallStep<CallInput,CallOutput,FailoverInput>
Object
akka.javasdk.workflow.Workflow.AsyncCallStep<CallInput,CallOutput,FailoverInput>
- All Implemented Interfaces:
Workflow.Step
public static class Workflow.AsyncCallStep<CallInput,CallOutput,FailoverInput>
extends Object
implements Workflow.Step
-
Field Summary
Modifier and TypeFieldDescriptionfinal Function
<CallInput, CompletionStage<CallOutput>> final Class
<CallOutput> -
Constructor Summary
ConstructorDescriptionAsyncCallStep
(String name, Class<CallInput> callInputClass, Function<CallInput, CompletionStage<CallOutput>> callFunc, Class<CallOutput> transitionInputClass, Function<CallOutput, Workflow.Effect.TransitionalEffect<Void>> transitionFunc) -
Method Summary
-
Field Details
-
callFunc
-
transitionFunc
-
callInputClass
-
transitionInputClass
-
-
Constructor Details
-
AsyncCallStep
public AsyncCallStep(String name, Class<CallInput> callInputClass, Function<CallInput, CompletionStage<CallOutput>> callFunc, Class<CallOutput> transitionInputClass, Function<CallOutput, Workflow.Effect.TransitionalEffect<Void>> transitionFunc)
-
-
Method Details
-
name
- Specified by:
name
in interfaceWorkflow.Step
-
timeout
- Specified by:
timeout
in interfaceWorkflow.Step
-
timeout
Define a step timeout.
-