Class FlowTimeoutHandlerOptions

java.lang.Object
io.superdurable.dex.FlowTimeoutHandlerOptions

public final class FlowTimeoutHandlerOptions extends Object
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();
  • Method Details