Class FlowTimeoutHandlerOptions
java.lang.Object
io.superdurable.dex.FlowTimeoutHandlerOptions
Configures one Flow timeout handler's Execute semantics and state snapshot.
Ordinary Attributes and Channel size metadata load automatically. AttributeMap values and pending Channel messages require explicit selections. One logical handler execution may retry.
FlowTimeoutHandlerOptions options = FlowTimeoutHandlerOptions.newBuilder()
.methodTimeout(Duration.ofSeconds(30))
.retry(RetryPolicy.newBuilder().maximumAttempts(3).build())
.addLoadChannel(commands)
.onFailureProceedTo(TimeoutRecoveryStep.class)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds immutableFlowTimeoutHandlerOptionsvalues. -
Method Summary
Modifier and TypeMethodDescriptionCreates a builder initialized with server defaults.
-
Method Details
-
newBuilder
Creates a builder initialized with server defaults.- Returns:
- a new mutable builder
-