public class SdkInternalConfiguration extends Object
Constructor and Description |
---|
SdkInternalConfiguration(UofConfiguration cfg,
boolean setReplaySession,
SdkConfigurationPropertiesReader sdkConfigurationPropertiesReader,
SdkConfigurationYamlReader sdkConfigurationYamlReader) |
SdkInternalConfiguration(UofConfiguration cfg,
SdkConfigurationPropertiesReader sdkConfigurationPropertiesReader,
SdkConfigurationYamlReader sdkConfigurationYamlReader) |
Modifier and Type | Method and Description |
---|---|
String |
getAccessToken() |
String |
getApiHost() |
String |
getApiHostAndPort() |
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 an indication on how should be the SDK exceptions handled
|
long |
getFastHttpClientTimeout()
Indicates the timeout which should be used on fast-failing HTTP requests(seconds)
|
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 |
getMaxRecoveryExecutionSeconds() |
String |
getMessagingHost() |
String |
getMessagingPassword()
Returns the password of the broker to which you are connecting - this field should be null/blank if
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)
|
Set<String> |
getSchedulerTasksToSkip()
Returns a set of task names that should be skipped
|
Integer |
getSdkNodeId()
Returns the assigned SDK node identifier
|
boolean |
getUseApiSsl()
Gets a value indicating whether SSL should be used when requesting API endpoints
|
boolean |
getUseMessagingSsl()
Gets a value indicating whether SSL should be used when connecting to AMQP broker
|
boolean |
isCleanTrafficLogEntriesEnabled()
Indicates if the received xml payloads should be cleaned from special characters such as new lines or not
|
boolean |
isReplaySession()
An indication if the current configuration is setup for use in a replay session
|
String |
toString() |
void |
updateApiHost(String newApiHost)
Updates the API host - this method can be used only while in replay mode, no other SDK modes support this
|
public SdkInternalConfiguration(UofConfiguration cfg, SdkConfigurationPropertiesReader sdkConfigurationPropertiesReader, SdkConfigurationYamlReader sdkConfigurationYamlReader)
public SdkInternalConfiguration(UofConfiguration cfg, boolean setReplaySession, SdkConfigurationPropertiesReader sdkConfigurationPropertiesReader, SdkConfigurationYamlReader sdkConfigurationYamlReader)
public String getMessagingHost()
public String getApiHost()
public int getApiPort()
public String getApiHostAndPort()
public Environment getEnvironment()
public int getLongestInactivityInterval()
public int getMaxRecoveryExecutionSeconds()
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 boolean isReplaySession()
public String getMessagingUsername()
public String getMessagingPassword()
public String getMessagingVirtualHost()
public ExceptionHandlingStrategy getExceptionHandlingStrategy()
public Integer getSdkNodeId()
public boolean isCleanTrafficLogEntriesEnabled()
true
if the message entries should be cleaned; otherwise false
public int getHttpClientTimeout()
public int getRecoveryHttpClientTimeout()
public List<Integer> getDisabledProducers()
public Set<String> getSchedulerTasksToSkip()
public int getHttpClientMaxConnTotal()
public int getHttpClientMaxConnPerRoute()
public int getRecoveryHttpClientMaxConnTotal()
public int getRecoveryHttpClientMaxConnPerRoute()
public void updateApiHost(String newApiHost)
newApiHost
- the new API hostpublic long getFastHttpClientTimeout()
Copyright © 2016–2025. All rights reserved.