Class UofUsageConfigurationImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.cfg.UofUsageConfigurationImpl
- All Implemented Interfaces:
UofUsageConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionintGet the interval in seconds in which the usage metrics are exportedintGet the timeout for exporting usage metricsgetHost()Get the host to which the usage metrics are exportedbooleanIndicates if the SDK usage (metrics) export is enabledvoidsetExportEnabled(boolean exportEnabled) voidtoString()
-
Method Details
-
setExportEnabled
public void setExportEnabled(boolean exportEnabled) -
setHost
-
isExportEnabled
public boolean isExportEnabled()Description copied from interface:UofUsageConfigurationIndicates if the SDK usage (metrics) export is enabledDefault value is true
- Specified by:
isExportEnabledin interfaceUofUsageConfiguration
-
getExportIntervalInSec
public int getExportIntervalInSec()Description copied from interface:UofUsageConfigurationGet the interval in seconds in which the usage metrics are exported- Specified by:
getExportIntervalInSecin interfaceUofUsageConfiguration- Returns:
- the export interval in seconds
-
getExportTimeoutInSec
public int getExportTimeoutInSec()Description copied from interface:UofUsageConfigurationGet the timeout for exporting usage metrics- Specified by:
getExportTimeoutInSecin interfaceUofUsageConfiguration- Returns:
- the export timeout in seconds
-
getHost
Description copied from interface:UofUsageConfigurationGet the host to which the usage metrics are exported- Specified by:
getHostin interfaceUofUsageConfiguration- Returns:
- the host
-
toString
-