Class UofProducerConfigurationImpl

java.lang.Object
com.sportradar.unifiedodds.sdk.internal.cfg.UofProducerConfigurationImpl
All Implemented Interfaces:
UofProducerConfiguration

public class UofProducerConfigurationImpl extends Object implements UofProducerConfiguration
  • Method Details

    • getInactivitySeconds

      public Duration getInactivitySeconds()
      Specified by:
      getInactivitySeconds in interface UofProducerConfiguration
      Returns:
      The longest inactivity interval between producer alive messages (seconds)
    • getInactivitySecondsPrematch

      public Duration getInactivitySecondsPrematch()
      Specified by:
      getInactivitySecondsPrematch in interface UofProducerConfiguration
      Returns:
      The longest inactivity interval between alive messages for prematch producer (seconds)
    • getMaxRecoveryTime

      public Duration getMaxRecoveryTime()
      Specified by:
      getMaxRecoveryTime in interface UofProducerConfiguration
      Returns:
      The max recovery execution time, after which the recovery request is repeated (minutes)
    • getMinIntervalBetweenRecoveryRequests

      public Duration getMinIntervalBetweenRecoveryRequests()
      Specified by:
      getMinIntervalBetweenRecoveryRequests in interface UofProducerConfiguration
      Returns:
      The minimal interval between recovery requests initiated by alive messages (seconds)
    • getDisabledProducers

      public List<Integer> getDisabledProducers()
      Description copied from interface: UofProducerConfiguration
      Returns a list of producer identifiers which should be disabled automatically when the SDK starts up
      Specified by:
      getDisabledProducers in interface UofProducerConfiguration
      Returns:
      a list of producer identifiers which should be disabled automatically when the sdk starts up
    • getProducers

      public List<Producer> getProducers()
      Description copied from interface: UofProducerConfiguration
      Get the list of available producers for provided access token
      Specified by:
      getProducers in interface UofProducerConfiguration
      Returns:
      the list of available producers for provided access token
    • setInactivitySeconds

      public void setInactivitySeconds(int inactivitySec)
    • setInactivitySecondsPrematch

      public void setInactivitySecondsPrematch(int inactivitySec)
    • setMaxRecoveryTime

      public void setMaxRecoveryTime(int maxRecovery)
    • setMinIntervalBetweenRecoveryRequest

      public void setMinIntervalBetweenRecoveryRequest(int minIntervalBetweenRequests)
    • setDisabledProducers

      public void setDisabledProducers(List<Integer> producerIds)
    • setAvailableProducers

      public void setAvailableProducers(List<Producer> producers)
    • toString

      public String toString()
      Overrides:
      toString in class Object