@Deprecated public final class RuntimeConfiguration extends Object
Constructor and Description |
---|
RuntimeConfiguration()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Duration |
getFastHttpClientTimeout()
Deprecated.
Gets a timeout for HttpClient for fast api request (in seconds).
|
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)
|
static int |
getRabbitConnectionTimeout()
Deprecated.
Gets a rabbit timeout setting for connection attempts (in seconds)
Between 10 and 120 (default 30s)
|
static int |
getRabbitHeartbeat()
Deprecated.
Gets a heartbeat timeout to use when negotiating with the server (in seconds)
Between 10 and 180 (default 60s)
|
static void |
setFastHttpClientTimeout(Duration timeout)
Deprecated.
Sets the timeout for HttpClient for fast api request (in seconds).
|
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
|
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
|
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
|
public static boolean getIgnoreBetPalTimelineSportEventStatus()
public static int getRabbitConnectionTimeout()
public static int getRabbitHeartbeat()
public static Duration getFastHttpClientTimeout()
public static void setIgnoreBetPalTimelineSportEventStatus(boolean ignore)
ignore
- ignore valuepublic static void setRabbitConnectionTimeout(int timeout)
timeout
- the rabbit timeout setting for connection attempts (in seconds)public static void setRabbitHeartbeat(int heartbeat)
heartbeat
- a heartbeat timeout to use when negotiating with the rabbit server (in seconds)public static void setFastHttpClientTimeout(Duration timeout)
timeout
- timeout valueCopyright © 2016–2025. All rights reserved.