Enum Class ProducerDownReason

java.lang.Object
java.lang.Enum<ProducerDownReason>
com.sportradar.unifiedodds.sdk.oddsentities.ProducerDownReason
All Implemented Interfaces:
Serializable, Comparable<ProducerDownReason>, java.lang.constant.Constable

public enum ProducerDownReason extends Enum<ProducerDownReason>
Describes reasons why the Producer was marked down
  • Enum Constant Details

    • AliveIntervalViolation

      public static final ProducerDownReason AliveIntervalViolation
      Indicates that the Producer was marked down because the interval between alive messages was greater than allowed.
    • ProcessingQueueDelayViolation

      public static final ProducerDownReason ProcessingQueueDelayViolation
      Indicates that the Producer was marked down because the time frame between the message generation and the message processing completion was exceeded.
    • Other

      public static final ProducerDownReason Other
      Indicates that the Producer was marked down due to information received from the feed.
    • ConnectionDown

      public static final ProducerDownReason ConnectionDown
      Indicates that the Producer was marked down dispatched due to the loss of connection to the server.
  • Method Details

    • values

      public static ProducerDownReason[] 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 ProducerDownReason 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
    • asProducerStatusReason

      public ProducerStatusReason asProducerStatusReason()