Enum Class ProducerStatusReason
java.lang.Object
java.lang.Enum<ProducerStatusReason>
com.sportradar.unifiedodds.sdk.oddsentities.ProducerStatusReason
- All Implemented Interfaces:
Serializable,Comparable<ProducerStatusReason>,java.lang.constant.Constable
Describes reasons why the
ProducerStatusReason message was dispatched-
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 theProducerStatusReasonmessages was dispatched because the interval between alive messages was greater than allowedIndicates that theProducerStatusReasonmessage was dispatched due to the loss of connection to the server.Indicates that theProducerStatusReasonmessages was dispatched because the first recovery request completed successfullyIndicates that theProducerStatusReasonmessage was dispatched due to information received from the feedIndicates that theProducerStatusReasonmessage was dispatched because the time frame between the message generation and the message processing completion was again within the limitIndicates that theProducerStatusReasonmessage was dispatched because the time frame between the message generation and the message processing completion was exceededIndicates that theProducerStatusReasonmessage was dispatched because a producer came back online -
Method Summary
Modifier and TypeMethodDescriptionstatic ProducerStatusReasonReturns the enum constant of this class with the specified name.static ProducerStatusReason[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FirstRecoveryCompleted
Indicates that theProducerStatusReasonmessages was dispatched because the first recovery request completed successfully -
ProcessingQueDelayStabilized
Indicates that theProducerStatusReasonmessage was dispatched because the time frame between the message generation and the message processing completion was again within the limit -
ReturnedFromInactivity
Indicates that theProducerStatusReasonmessage was dispatched because a producer came back online -
AliveIntervalViolation
Indicates that theProducerStatusReasonmessages was dispatched because the interval between alive messages was greater than allowed -
ProcessingQueueDelayViolation
Indicates that theProducerStatusReasonmessage was dispatched because the time frame between the message generation and the message processing completion was exceeded -
Other
Indicates that theProducerStatusReasonmessage was dispatched due to information received from the feed -
ConnectionDown
Indicates that theProducerStatusReasonmessage was 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
-