public interface RecoveryConfigurationBuilder<T> extends ConfigurationBuilderBase<T>
Modifier and Type | Method and Description |
---|---|
T |
enableUsageExport(boolean enableUsageExport)
Sets the value indicating whether sdk usage (metrics) can be exported
|
T |
omitMarketMappings(boolean omit)
Sets the value indicating whether to ignore market mappings when fetching market descriptions from API
|
T |
setHttpClientFastFailingTimeout(int httpClientFastFailingTimeout)
Sets the timeout which should be used on HTTP requests for fast failing endpoints (seconds)
|
T |
setHttpClientMaxConnPerRoute(int httpClientMaxConnPerRoute)
Sets maximum number of concurrent connections per route for http client.
|
T |
setHttpClientMaxConnTotal(int httpClientMaxConnTotal)
Sets connection pool size for http client.
|
T |
setHttpClientRecoveryTimeout(int httpClientRecoveryTimeout)
Sets the timeout which should be used on HTTP requests for recovery endpoints (seconds)
|
T |
setHttpClientTimeout(int httpClientTimeout)
Sets the timeout which should be used on HTTP requests (seconds)
|
T |
setIgnoreBetPalTimelineSportEventStatus(boolean ignore)
Sets the value indicating whether to ignore sport event status from timeline endpoint
for sport events on BetPal producer
|
T |
setIgnoreBetPalTimelineSportEventStatusCacheTimeout(int timeoutInHours)
Sets the ignore BetPal timeline sport event status cache timeout.
|
T |
setInactivitySeconds(int inactivitySeconds)
Sets the max time window between two consecutive alive messages before the associated producer is marked as down
|
T |
setInactivitySecondsPrematch(int inactivitySeconds)
Sets the max time window between two consecutive alive messages before the prematch producer is marked as down
|
T |
setMaxRecoveryTime(int timeInSeconds)
Sets the maximum time in seconds in which recovery must be completed (minimum 600 seconds)
|
T |
setMinIntervalBetweenRecoveryRequests(int intervalSeconds)
Sets the minimal time between two successive recovery requests initiated by alive messages (minimum 20 seconds)
|
T |
setProfileCacheTimeout(int timeoutInHours)
Sets the timeout for cache items in ProfileCache (in hours)
|
T |
setRabbitConnectionTimeout(int timeoutInSeconds)
Sets the rabbit timeout setting for connection attempts (in seconds)
|
T |
setRabbitHeartbeat(int heartbeatInSeconds)
Sets a heartbeat timeout to use when negotiating with the rabbit server (in seconds)
|
T |
setSportEventCacheTimeout(int timeoutInHours)
Sets the timeout for cache items in SportEventCache (in hours)
|
T |
setSportEventStatusCacheTimeout(int timeoutInMinutes)
Sets the timeout for cache items in SportEventStatusCache (in minutes)
|
T |
setStatisticsInterval(int intervalInMinutes)
Sets the interval for automatically collecting statistics (in minutes)
|
T |
setVariantMarketDescriptionCacheTimeout(int timeoutInHours)
Sets the timeout for cache items in single variant market description cache (in hours)
|
build, loadConfigFromApplicationYml, loadConfigFromSdkProperties, setDefaultLanguage, setDesiredLanguages, setDisabledProducers, setExceptionHandlingStrategy, setNodeId
T setInactivitySeconds(int inactivitySeconds)
inactivitySeconds
- the max time window between two consecutive alive messagesRecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT setInactivitySecondsPrematch(int inactivitySeconds)
inactivitySeconds
- the max time window between two consecutive alive messagesRecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT setMaxRecoveryTime(int timeInSeconds)
timeInSeconds
- the value in secondsRecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT setMinIntervalBetweenRecoveryRequests(int intervalSeconds)
intervalSeconds
- the minimal time between two successive recovery requests initiated by alive messages (default 30)RecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT setHttpClientTimeout(int httpClientTimeout)
RecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT setHttpClientRecoveryTimeout(int httpClientRecoveryTimeout)
RecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT setHttpClientFastFailingTimeout(int httpClientFastFailingTimeout)
RecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT setHttpClientMaxConnTotal(int httpClientMaxConnTotal)
RecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT setHttpClientMaxConnPerRoute(int httpClientMaxConnPerRoute)
RecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT setSportEventCacheTimeout(int timeoutInHours)
RecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT setSportEventStatusCacheTimeout(int timeoutInMinutes)
RecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT setProfileCacheTimeout(int timeoutInHours)
RecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT setVariantMarketDescriptionCacheTimeout(int timeoutInHours)
RecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT setIgnoreBetPalTimelineSportEventStatusCacheTimeout(int timeoutInHours)
RecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT setIgnoreBetPalTimelineSportEventStatus(boolean ignore)
ignore
- if set to true ignoreRecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT setRabbitConnectionTimeout(int timeoutInSeconds)
timeoutInSeconds
- the rabbit connection timeoutConfigurationBuilderBase
derived instance used to set general configuration propertiesT setRabbitHeartbeat(int heartbeatInSeconds)
heartbeatInSeconds
- a heartbeat timeoutConfigurationBuilderBase
derived instance used to set general configuration propertiesT setStatisticsInterval(int intervalInMinutes)
intervalInMinutes
- the interval for automatically collecting statisticsConfigurationBuilderBase
derived instance used to set general configuration propertiesT omitMarketMappings(boolean omit)
omit
- if set to trueRecoveryConfigurationBuilder
derived instance used to set general configuration propertiesT enableUsageExport(boolean enableUsageExport)
enableUsageExport
- if set to true export is permitted, otherwise notRecoveryConfigurationBuilder
derived instance used to set general configuration propertiesCopyright © 2016–2025. All rights reserved.