Record Class InvocationReliabilityOptions

java.lang.Object
java.lang.Record
org.j7m.middleware.api.reliability.InvocationReliabilityOptions
Record Components:
deliverySemantics - delivery semantics
idempotencyKey - optional idempotency key
dedupeKey - optional dedupe key
orderingKey - optional ordering key
durableOperationId - optional durable operation id
fencingToken - optional fencing token
monotonicEpoch - optional epoch
causalContext - optional causal context
correlationContext - optional correlation context
replayPolicy - replay policy
duplicateDetectionPolicy - duplicate detection policy
backpressurePolicy - backpressure policy
cancellationRequested - cancellation propagation flag
maxPayloadBytes - payload limit, or zero for unset
maxResultBytes - result limit, or zero for unset
retryAfter - retry-after metadata, or null
All Implemented Interfaces:
Serializable

public record InvocationReliabilityOptions(DeliverySemantics deliverySemantics, IdempotencyKey idempotencyKey, DedupeKey dedupeKey, OrderingKey orderingKey, DurableOperationId durableOperationId, FencingToken fencingToken, MonotonicEpoch monotonicEpoch, CausalContext causalContext, CorrelationContext correlationContext, ReplayPolicy replayPolicy, DuplicateDetectionPolicy duplicateDetectionPolicy, BackpressurePolicy backpressurePolicy, boolean cancellationRequested, long maxPayloadBytes, long maxResultBytes, Duration retryAfter) extends Record implements Serializable
Typed reliability metadata carried through invocation options.

The record is immutable, serializable, and thread-safe. It serializes to deterministic string metadata so transports remain vendor-neutral. Raw payload values are never embedded in metadata generated by this type.

See Also: