Enum Class EventSubscriptionProfile.Expiry
java.lang.Object
java.lang.Enum<EventSubscriptionProfile.Expiry>
org.j7m.middleware.application.distributed.EventSubscriptionProfile.Expiry
- All Implemented Interfaces:
Serializable, Comparable<EventSubscriptionProfile.Expiry>, Constable
- Enclosing class:
EventSubscriptionProfile
Chooses behavior after authoritative loss of retained history or subscription lease.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStop with a visible expiry reason; never skip missing history.Explicitly replace the projection from a new snapshot before continuing its tail. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static EventSubscriptionProfile.Expiry[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FAIL
Stop with a visible expiry reason; never skip missing history. -
RESNAPSHOT
Explicitly replace the projection from a new snapshot before continuing its tail.
-
-
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
-