public enum ProducerUpReason extends Enum<ProducerUpReason>
ProducerUp
message was dispatchedEnum Constant and Description |
---|
FirstRecoveryCompleted
Indicates that the
ProducerUp messages was dispatched because the first recovery request completed successfully |
ProcessingQueDelayStabilized
Indicates that the
ProducerDown message was dispatched because the time frame between the message generation
and the message processing completion was again within the limit |
ReturnedFromInactivity
Indicates that the
ProducerUp message was dispatched because a producer came back online |
Modifier and Type | Method and Description |
---|---|
ProducerStatusReason |
asProducerStatusReason() |
static ProducerUpReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProducerUpReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProducerUpReason FirstRecoveryCompleted
ProducerUp
messages was dispatched because the first recovery request completed successfullypublic static final ProducerUpReason ProcessingQueDelayStabilized
ProducerDown
message was dispatched because the time frame between the message generation
and the message processing completion was again within the limitpublic static final ProducerUpReason ReturnedFromInactivity
ProducerUp
message was dispatched because a producer came back onlinepublic static ProducerUpReason[] values()
for (ProducerUpReason c : ProducerUpReason.values()) System.out.println(c);
public static ProducerUpReason valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic ProducerStatusReason asProducerStatusReason()
Copyright © 2016–2023. All rights reserved.