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

public enum ProducerStatusReason extends Enum<ProducerStatusReason>
Describes reasons why the ProducerStatusReason message was dispatched
  • Enum Constant Details

    • FirstRecoveryCompleted

      public static final ProducerStatusReason FirstRecoveryCompleted
      Indicates that the ProducerStatusReason messages was dispatched because the first recovery request completed successfully
    • ProcessingQueDelayStabilized

      public static final ProducerStatusReason 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
    • ReturnedFromInactivity

      public static final ProducerStatusReason ReturnedFromInactivity
      Indicates that the ProducerStatusReason message was dispatched because a producer came back online
    • AliveIntervalViolation

      public static final ProducerStatusReason AliveIntervalViolation
      Indicates that the ProducerStatusReason messages was dispatched because the interval between alive messages was greater than allowed
    • ProcessingQueueDelayViolation

      public static final ProducerStatusReason ProcessingQueueDelayViolation
      Indicates that the ProducerStatusReason message was dispatched because the time frame between the message generation and the message processing completion was exceeded
    • Other

      public static final ProducerStatusReason Other
      Indicates that the ProducerStatusReason message was dispatched due to information received from the feed
    • ConnectionDown

      public static final ProducerStatusReason ConnectionDown
      Indicates that the ProducerStatusReason message was dispatched due to the loss of connection to the server.
  • Method Details

    • values

      public static ProducerStatusReason[] 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

      public static ProducerStatusReason valueOf(String name)
      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 name
      NullPointerException - if the argument is null