Enum Class ProducerDownReason
- All Implemented Interfaces:
Serializable,Comparable<ProducerDownReason>,java.lang.constant.Constable
Describes reasons why the Producer was marked down
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that the Producer was marked down because the interval between alive messages was greater than allowed.Indicates that the Producer was marked down dispatched due to the loss of connection to the server.Indicates that the Producer was marked down due to information received from the feed.Indicates that the Producer was marked down because the time frame between the message generation and the message processing completion was exceeded. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProducerDownReasonReturns the enum constant of this class with the specified name.static ProducerDownReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AliveIntervalViolation
Indicates that the Producer was marked down because the interval between alive messages was greater than allowed. -
ProcessingQueueDelayViolation
Indicates that the Producer was marked down because the time frame between the message generation and the message processing completion was exceeded. -
Other
Indicates that the Producer was marked down due to information received from the feed. -
ConnectionDown
Indicates that the Producer was marked down dispatched due to the loss of connection to the server.
-
-
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
-
asProducerStatusReason
-