public enum ProducerDownReason extends Enum<ProducerDownReason>
ProducerDown
message was dispatchedEnum Constant and Description |
---|
AliveIntervalViolation
Indicates that the
ProducerDown messages was dispatched because the interval
between alive messages was greater than allowed. |
ConnectionDown
Indicates that the
ProducerDown message was dispatched due to the loss of connection
to the server. |
Other
Indicates that the
ProducerDown message was dispatched due to information received
from the feed. |
ProcessingQueueDelayViolation
Indicates that the
ProducerDown message was dispatched because the time frame between the message generation
and the message processing completion was exceeded. |
Modifier and Type | Method and Description |
---|---|
ProducerStatusReason |
asProducerStatusReason() |
static ProducerDownReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProducerDownReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProducerDownReason AliveIntervalViolation
ProducerDown
messages was dispatched because the interval
between alive messages was greater than allowed.public static final ProducerDownReason ProcessingQueueDelayViolation
ProducerDown
message was dispatched because the time frame between the message generation
and the message processing completion was exceeded.public static final ProducerDownReason Other
ProducerDown
message was dispatched due to information received
from the feed.public static final ProducerDownReason ConnectionDown
ProducerDown
message was dispatched due to the loss of connection
to the server.public static ProducerDownReason[] values()
for (ProducerDownReason c : ProducerDownReason.values()) System.out.println(c);
public static ProducerDownReason 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.