Enum Class ReliabilityStatus
- All Implemented Interfaces:
Serializable, Comparable<ReliabilityStatus>, Constable
Stable status for reliability policy decisions.
The enum is immutable and thread-safe.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe operation is accepted as first-seen or policy-compliant.Backpressure rejected or delayed the operation.The invocation was cancelled.The invocation deadline was exceeded.A duplicate was observed and accepted with a marker.A duplicate was rejected.A fencing token authority or scope did not match.A configured payload or result limit was exceeded.The operation is not retry-safe.A previous result is available for the duplicate key.The operation is retry-safe.A fencing token was stale.Generic exactly-once execution is unsupported. -
Method Summary
Modifier and TypeMethodDescriptionstatic ReliabilityStatusReturns the enum constant of this class with the specified name.static ReliabilityStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCEPTED
The operation is accepted as first-seen or policy-compliant. -
RETRY_SAFE
The operation is retry-safe. -
NOT_RETRY_SAFE
The operation is not retry-safe. -
DUPLICATE_MARKED
A duplicate was observed and accepted with a marker. -
DUPLICATE_REJECTED
A duplicate was rejected. -
PREVIOUS_RESULT_AVAILABLE
A previous result is available for the duplicate key. -
STALE_FENCING_TOKEN
A fencing token was stale. -
FENCING_SCOPE_MISMATCH
A fencing token authority or scope did not match. -
UNSUPPORTED_EXACTLY_ONCE
Generic exactly-once execution is unsupported. -
LIMIT_EXCEEDED
A configured payload or result limit was exceeded. -
BACKPRESSURE_APPLIED
Backpressure rejected or delayed the operation. -
CANCELLED
The invocation was cancelled. -
DEADLINE_EXCEEDED
The invocation deadline was exceeded.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-