Class RuntimeConfiguration
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.RuntimeConfiguration
Deprecated.
use ConfigurationBuilder instead. Configuring these properties in runtime does not take effect.
Defines methods used to get or set various values for sdk operations
Values must be set before creating Feed instance
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DurationDeprecated.Gets a timeout for HttpClient for fast api request (in seconds).static booleanDeprecated.Gets a value indicating whether to ignore sport event status from timeline endpoint for sport events on BetPal producer (default: false)static intDeprecated.Gets a rabbit timeout setting for connection attempts (in seconds) Between 10 and 120 (default 30s)static intDeprecated.Gets a heartbeat timeout to use when negotiating with the server (in seconds) Between 10 and 180 (default 60s)static voidsetFastHttpClientTimeout(Duration timeout) Deprecated.Sets the timeout for HttpClient for fast api request (in seconds).static voidsetIgnoreBetPalTimelineSportEventStatus(boolean ignore) Deprecated.Sets the value indicating whether to ignore sport event status from timeline endpoint for sport events on BetPal producerstatic voidsetRabbitConnectionTimeout(int timeout) Deprecated.Sets the rabbit timeout setting for connection attempts (in seconds) Between 10 and 120 (default 30s) - set before connection is madestatic voidsetRabbitHeartbeat(int heartbeat) Deprecated.Sets a heartbeat timeout to use when negotiating with the rabbit server (in seconds) Between 10 and 180 (default 60s) - set before connection is made
-
Constructor Details
-
RuntimeConfiguration
public RuntimeConfiguration()Deprecated.
-
-
Method Details
-
getIgnoreBetPalTimelineSportEventStatus
public static boolean getIgnoreBetPalTimelineSportEventStatus()Deprecated.Gets a value indicating whether to ignore sport event status from timeline endpoint for sport events on BetPal producer (default: false)- Returns:
- true if sport event status from timeline endpoint should be ignored, otherwise false
-
getRabbitConnectionTimeout
public static int getRabbitConnectionTimeout()Deprecated.Gets a rabbit timeout setting for connection attempts (in seconds) Between 10 and 120 (default 30s)- Returns:
- a rabbit timeout setting for connection attempts (in seconds)
-
getRabbitHeartbeat
public static int getRabbitHeartbeat()Deprecated.Gets a heartbeat timeout to use when negotiating with the server (in seconds) Between 10 and 180 (default 60s)- Returns:
- a heartbeat timeout to use when negotiating with the server (in seconds)
-
getFastHttpClientTimeout
Deprecated.Gets a timeout for HttpClient for fast api request (in seconds). Between 1 and 30 (default 5s). Used for summary, competitor profile, player profile and variant description endpoint. Must be set before feed instance is created.- Returns:
- a timeout for HttpClient for fast api request (in seconds).
-
setIgnoreBetPalTimelineSportEventStatus
public static void setIgnoreBetPalTimelineSportEventStatus(boolean ignore) Deprecated.Sets the value indicating whether to ignore sport event status from timeline endpoint for sport events on BetPal producer- Parameters:
ignore- ignore value
-
setRabbitConnectionTimeout
public static void setRabbitConnectionTimeout(int timeout) Deprecated.Sets the rabbit timeout setting for connection attempts (in seconds) Between 10 and 120 (default 30s) - set before connection is made- Parameters:
timeout- the rabbit timeout setting for connection attempts (in seconds)
-
setRabbitHeartbeat
public static void setRabbitHeartbeat(int heartbeat) Deprecated.Sets a heartbeat timeout to use when negotiating with the rabbit server (in seconds) Between 10 and 180 (default 60s) - set before connection is made- Parameters:
heartbeat- a heartbeat timeout to use when negotiating with the rabbit server (in seconds)
-
setFastHttpClientTimeout
Deprecated.Sets the timeout for HttpClient for fast api request (in seconds).- Parameters:
timeout- timeout value
-