Package kalix.javasdk.workflowentity
Class WorkflowEntity.AsyncCallStep<CallInput,CallOutput,FailoverInput>
Object
kalix.javasdk.workflowentity.WorkflowEntity.AsyncCallStep<CallInput,CallOutput,FailoverInput>
- All Implemented Interfaces:
WorkflowEntity.Step<FailoverInput>
- Enclosing class:
- WorkflowEntity<S>
public static class WorkflowEntity.AsyncCallStep<CallInput,CallOutput,FailoverInput>
extends Object
implements WorkflowEntity.Step<FailoverInput>
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Function<CallInput,CompletionStage<CallOutput>> final Class<CallOutput> -
Constructor Summary
ConstructorsConstructorDescriptionAsyncCallStep(String name, Function<CallInput, CompletionStage<CallOutput>> callFunc, Function<CallOutput, WorkflowEntity.Effect.TransitionalEffect<Void>> transitionFunc) -
Method Summary
-
Field Details
-
callFunc
-
transitionFunc
-
callInputClass
-
transitionInputClass
-
-
Constructor Details
-
AsyncCallStep
public AsyncCallStep(String name, Function<CallInput, CompletionStage<CallOutput>> callFunc, Function<CallOutput, WorkflowEntity.Effect.TransitionalEffect<Void>> transitionFunc)
-
-
Method Details
-
name
- Specified by:
namein interfaceWorkflowEntity.Step<CallInput>
-
timeout
- Specified by:
timeoutin interfaceWorkflowEntity.Step<CallInput>
-
timeout
Define a step timeout.
-