Enum Class ManagedEventSubscriptionFactory.Reason
java.lang.Object
java.lang.Enum<ManagedEventSubscriptionFactory.Reason>
org.j7m.middleware.application.distributed.ManagedEventSubscriptionFactory.Reason
- All Implemented Interfaces:
Serializable, Comparable<ManagedEventSubscriptionFactory.Reason>, Constable
- Enclosing class:
ManagedEventSubscriptionFactory
public static enum ManagedEventSubscriptionFactory.Reason
extends Enum<ManagedEventSubscriptionFactory.Reason>
Safe fixed failure categories; unavailable source is retryable without resetting progress.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNative bounded storage cannot accept a new identity.Retained history no longer covers progress.Durable identity/configuration conflict.Application failed; no acknowledgement was sent.Source supplied a malformed or regressing page.No outstanding failure.Shared bounded worker admission rejected.Authorization denied.Other fixed protocol rejection; no progress reset.Source transport/quorum outcome is uncertain.Durable subscription lease expired. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No outstanding failure. -
SOURCE_UNAVAILABLE
Source transport/quorum outcome is uncertain. -
CURSOR_EXPIRED
Retained history no longer covers progress. -
SUBSCRIPTION_EXPIRED
Durable subscription lease expired. -
DEFINITION_CONFLICT
Durable identity/configuration conflict. -
CAPACITY
Native bounded storage cannot accept a new identity. -
HANDLER_FAILED
Application failed; no acknowledgement was sent. -
INVALID_PAGE
Source supplied a malformed or regressing page. -
PERMISSION_DENIED
Authorization denied. -
OVERLOADED
Shared bounded worker admission rejected. -
PROTOCOL_REJECTED
Other fixed protocol rejection; no progress reset.
-
-
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
-