public class OddsFeedConfiguration extends Object
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken() |
String |
getAPIHost() |
int |
getAPIPort() |
Locale |
getDefaultLocale()
The default locale used for any getter that returns localized Strings.
|
List<Locale> |
getDesiredLocales()
Returns a
List of locales in which the data should be prefetched |
List<Integer> |
getDisabledProducers()
Returns a list of producer identifiers which should be disabled automatically when the SDK starts up
|
Environment |
getEnvironment() |
ExceptionHandlingStrategy |
getExceptionHandlingStrategy()
Returns the
ExceptionHandlingStrategy which will be used trough the SDK |
int |
getHttpClientMaxConnPerRoute()
Returns maximum number of concurrent connections per route for http client
|
int |
getHttpClientMaxConnTotal()
Returns connection pool size for http client
|
int |
getHttpClientTimeout()
Indicates the timeout which should be used on HTTP requests(seconds)
|
int |
getLongestInactivityInterval() |
int |
getMaxRecoveryExecutionMinutes() |
String |
getMessagingHost() |
String |
getMessagingPassword()
Returns the password of the broker to which you are connecting - this field should be null/blank if
you are connecting to the default Sportradar AMQP servers
|
String |
getMessagingUsername()
Returns the username of the broker to which you are currently connecting - this field should be null/blank if
you are connecting to the default Sportradar AMQP servers
|
String |
getMessagingVirtualHost()
Returns the custom set messaging virtual host
|
int |
getMinIntervalBetweenRecoveryRequests() |
int |
getPort()
Gets the port used to connect to AMQP broker
|
int |
getRecoveryHttpClientMaxConnPerRoute()
Returns maximum number of concurrent connections per route for recovery http client
|
int |
getRecoveryHttpClientMaxConnTotal()
Returns connection pool size for recovery http client
|
int |
getRecoveryHttpClientTimeout()
Indicates the timeout which should be used on HTTP requests for recovery endpoints(seconds)
|
Integer |
getSdkNodeId()
Returns the assigned SDK node identifier
MTS customer must set this value! Use only positive numbers; negative are reserved for internal use.
|
boolean |
getUseApiSsl()
Gets a value indicating whether SSL should be used when requesting API endpoints
|
boolean |
getUseIntegrationEnvironment()
Returns an indication if the SDK should connect to the integration environment
|
boolean |
getUseMessagingSsl()
Gets a value indicating whether SSL should be used when connecting to AMQP broker
|
boolean |
getUseStagingEnvironment()
Deprecated.
in favour of {
getUseIntegrationEnvironment() } from v2.0.18 |
String |
toString() |
public String getMessagingHost()
public String getAPIHost()
public int getAPIPort()
public Environment getEnvironment()
public int getLongestInactivityInterval()
public int getMaxRecoveryExecutionMinutes()
public int getMinIntervalBetweenRecoveryRequests()
public String getAccessToken()
public boolean getUseMessagingSsl()
public boolean getUseApiSsl()
public int getPort()
public Locale getDefaultLocale()
public List<Locale> getDesiredLocales()
List
of locales in which the data should be prefetchedList
of locales in which the data should be prefetchedpublic String getMessagingUsername()
public String getMessagingPassword()
public String getMessagingVirtualHost()
public Integer getSdkNodeId()
@Deprecated public boolean getUseStagingEnvironment()
getUseIntegrationEnvironment()
} from v2.0.18true
if the SDK should connect to the integration environment, otherwise false
public boolean getUseIntegrationEnvironment()
true
if the SDK should connect to the integration environment, otherwise false
public List<Integer> getDisabledProducers()
public ExceptionHandlingStrategy getExceptionHandlingStrategy()
ExceptionHandlingStrategy
which will be used trough the SDKExceptionHandlingStrategy
which will be used trough the SDKpublic int getHttpClientTimeout()
public int getHttpClientMaxConnTotal()
public int getHttpClientMaxConnPerRoute()
public int getRecoveryHttpClientTimeout()
public int getRecoveryHttpClientMaxConnTotal()
public int getRecoveryHttpClientMaxConnPerRoute()
Copyright © 2016–2023. All rights reserved.