public class UofProducerConfigurationImpl extends Object implements UofProducerConfiguration
Modifier and Type | Method and Description |
---|---|
boolean |
adjustAfterAge()
Gets a value indicating whether the after age should be adjusted before executing recovery request
|
List<Integer> |
getDisabledProducers()
Returns a list of producer identifiers which should be disabled automatically when the SDK starts up
|
Duration |
getInactivitySeconds() |
Duration |
getInactivitySecondsPrematch() |
Duration |
getMaxRecoveryTime() |
Duration |
getMinIntervalBetweenRecoveryRequests() |
List<Producer> |
getProducers()
Get the list of available producers for provided access token
|
void |
setAdjustAfterAge(boolean newAdjustAfterAge) |
void |
setAvailableProducers(List<Producer> producers) |
void |
setDisabledProducers(List<Integer> producerIds) |
void |
setInactivitySeconds(int inactivitySec) |
void |
setInactivitySecondsPrematch(int inactivitySec) |
void |
setMaxRecoveryTime(int maxRecovery) |
void |
setMinIntervalBetweenRecoveryRequest(int minIntervalBetweenRequests) |
String |
toString() |
public boolean adjustAfterAge()
UofProducerConfiguration
adjustAfterAge
in interface UofProducerConfiguration
public Duration getInactivitySeconds()
getInactivitySeconds
in interface UofProducerConfiguration
public Duration getInactivitySecondsPrematch()
getInactivitySecondsPrematch
in interface UofProducerConfiguration
public Duration getMaxRecoveryTime()
getMaxRecoveryTime
in interface UofProducerConfiguration
public Duration getMinIntervalBetweenRecoveryRequests()
getMinIntervalBetweenRecoveryRequests
in interface UofProducerConfiguration
public List<Integer> getDisabledProducers()
UofProducerConfiguration
getDisabledProducers
in interface UofProducerConfiguration
public List<Producer> getProducers()
UofProducerConfiguration
getProducers
in interface UofProducerConfiguration
public void setAdjustAfterAge(boolean newAdjustAfterAge)
public void setInactivitySeconds(int inactivitySec)
public void setInactivitySecondsPrematch(int inactivitySec)
public void setMaxRecoveryTime(int maxRecovery)
public void setMinIntervalBetweenRecoveryRequest(int minIntervalBetweenRequests)
Copyright © 2016–2024. All rights reserved.