Package kalix.javasdk.workflow
Class AbstractWorkflow.AsyncCallStep<CallInput,CallOutput,FailoverInput>
Object
kalix.javasdk.workflow.AbstractWorkflow.AsyncCallStep<CallInput,CallOutput,FailoverInput>
- All Implemented Interfaces:
AbstractWorkflow.Step
- Enclosing class:
- AbstractWorkflow<S>
public static class AbstractWorkflow.AsyncCallStep<CallInput,CallOutput,FailoverInput>
extends Object
implements AbstractWorkflow.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, AbstractWorkflow.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, AbstractWorkflow.Effect.TransitionalEffect<Void>> transitionFunc)
-
-
Method Details
-
name
- Specified by:
name
in interfaceAbstractWorkflow.Step
-
timeout
- Specified by:
timeout
in interfaceAbstractWorkflow.Step
-
timeout
Define a step timeout.
-