Class UofProducerConfigurationImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.cfg.UofProducerConfigurationImpl
- All Implemented Interfaces:
UofProducerConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of producer identifiers which should be disabled automatically when the SDK starts upGet the list of available producers for provided access tokenvoidsetAvailableProducers(List<Producer> producers) voidsetDisabledProducers(List<Integer> producerIds) voidsetInactivitySeconds(int inactivitySec) voidsetInactivitySecondsPrematch(int inactivitySec) voidsetMaxRecoveryTime(int maxRecovery) voidsetMinIntervalBetweenRecoveryRequest(int minIntervalBetweenRequests) toString()
-
Method Details
-
getInactivitySeconds
- Specified by:
getInactivitySecondsin interfaceUofProducerConfiguration- Returns:
- The longest inactivity interval between producer alive messages (seconds)
-
getInactivitySecondsPrematch
- Specified by:
getInactivitySecondsPrematchin interfaceUofProducerConfiguration- Returns:
- The longest inactivity interval between alive messages for prematch producer (seconds)
-
getMaxRecoveryTime
- Specified by:
getMaxRecoveryTimein interfaceUofProducerConfiguration- Returns:
- The max recovery execution time, after which the recovery request is repeated (minutes)
-
getMinIntervalBetweenRecoveryRequests
- Specified by:
getMinIntervalBetweenRecoveryRequestsin interfaceUofProducerConfiguration- Returns:
- The minimal interval between recovery requests initiated by alive messages (seconds)
-
getDisabledProducers
Description copied from interface:UofProducerConfigurationReturns a list of producer identifiers which should be disabled automatically when the SDK starts up- Specified by:
getDisabledProducersin interfaceUofProducerConfiguration- Returns:
- a list of producer identifiers which should be disabled automatically when the sdk starts up
-
getProducers
Description copied from interface:UofProducerConfigurationGet the list of available producers for provided access token- Specified by:
getProducersin interfaceUofProducerConfiguration- 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
-
setAvailableProducers
-
toString
-