public enum ProducerStatusReason extends Enum<ProducerStatusReason>
ProducerStatusReason
message was dispatchedEnum Constant and Description |
---|
AliveIntervalViolation
Indicates that the
ProducerStatusReason messages was dispatched because the interval
between alive messages was greater than allowed |
ConnectionDown
Indicates that the
ProducerStatusReason message was dispatched due to the loss of connection
to the server. |
FirstRecoveryCompleted
Indicates that the
ProducerStatusReason messages was dispatched because the first recovery request completed successfully |
Other
Indicates that the
ProducerStatusReason message was dispatched due to information received
from the feed |
ProcessingQueDelayStabilized
Indicates that the
ProducerStatusReason message was dispatched because the time frame between the message generation
and the message processing completion was again within the limit |
ProcessingQueueDelayViolation
Indicates that the
ProducerStatusReason message was dispatched because the time frame between the message generation
and the message processing completion was exceeded |
ReturnedFromInactivity
Indicates that the
ProducerStatusReason message was dispatched because a producer came back online |
Modifier and Type | Method and Description |
---|---|
static ProducerStatusReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProducerStatusReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProducerStatusReason FirstRecoveryCompleted
ProducerStatusReason
messages was dispatched because the first recovery request completed successfullypublic static final ProducerStatusReason ProcessingQueDelayStabilized
ProducerStatusReason
message was dispatched because the time frame between the message generation
and the message processing completion was again within the limitpublic static final ProducerStatusReason ReturnedFromInactivity
ProducerStatusReason
message was dispatched because a producer came back onlinepublic static final ProducerStatusReason AliveIntervalViolation
ProducerStatusReason
messages was dispatched because the interval
between alive messages was greater than allowedpublic static final ProducerStatusReason ProcessingQueueDelayViolation
ProducerStatusReason
message was dispatched because the time frame between the message generation
and the message processing completion was exceededpublic static final ProducerStatusReason Other
ProducerStatusReason
message was dispatched due to information received
from the feedpublic static final ProducerStatusReason ConnectionDown
ProducerStatusReason
message was dispatched due to the loss of connection
to the server.public static ProducerStatusReason[] values()
for (ProducerStatusReason c : ProducerStatusReason.values()) System.out.println(c);
public static ProducerStatusReason 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 nullCopyright © 2016–2025. All rights reserved.