public interface IAnalyticsMonitorSettings
| Modifier and Type | Method and Description |
|---|---|
int |
getDailyNetworkUtilizationInKB()
Gets the current limit for the network utilization for the monitor.
|
LocationCoordinates |
getLocationCoordinates()
Get the location of the monitor as GPS coordinates.
|
ILogAnalyticsMonitor |
getLoggingInterface()
Gets the logging interface.
|
int |
getMaxStorageSizeInKB()
Gets the maximum size in KB for the data stored by the monitor.
|
java.util.UUID |
getProductId()
Gets the product id.
|
java.net.URI |
getServerUri()
Gets the server uri.
|
IStorage |
getStorageInterface()
Gets the current storage implementation.
|
long |
getStorageSaveInterval()
Gets the storage save interval in milliseconds.
|
boolean |
getSynchronizeAutomatically()
Get whether the monitor should automatically synchronize (the default) or
if it should only attempt to synchronize on an explicit call to ForceSync
|
boolean |
getTestMode()
Gets the test mode.
|
boolean |
getUseHttps()
Get whether SSL is configured for the communication
|
Version |
getVersion()
Gets the registered version of the application.
|
void |
setDailyNetworkUtilizationInKB(int dailyUtilizationLimit)
Sets the limit of the daily network utilization.
|
void |
setLoggingInterface(ILogAnalyticsMonitor loggingInterface)
Sets the logging interface.
|
void |
setMaxStorageSizeInKB(int storageLimit)
Sets the limit of the data stored by the monitor.
|
void |
setServerUri(java.net.URI serverUri)
Sets the server uri.
|
void |
setStorageInterface(IStorage storage)
Sets the storage.
|
void |
setStorageSaveInterval(long storageSaveInterval)
Sets the storage save interval.
|
void |
setSynchronizeAutomatically(boolean syncAutomatically)
Set whether the monitor should automatically synchronize or not.
|
void |
setTestMode(boolean testMode)
Sets the analytics monitor into test mode.
|
void |
setUseSsl(boolean useSsl)
Set whether the monitor should utilize SSL when communicating with the
server.
|
void |
setVersion(Version version)
Sets the version of the application
|
java.util.UUID getProductId()
void setVersion(Version version)
version - the new versionVersion getVersion()
void setLoggingInterface(ILogAnalyticsMonitor loggingInterface)
loggingInterface - the new logging interfaceILogAnalyticsMonitorILogAnalyticsMonitor getLoggingInterface()
ILogAnalyticsMonitorvoid setStorageInterface(IStorage storage)
storage - the new storageIStorageIStorage getStorageInterface()
void setStorageSaveInterval(long storageSaveInterval)
storageSaveInterval - the new storage save interval in millisecondslong getStorageSaveInterval()
void setServerUri(java.net.URI serverUri)
throws java.net.MalformedURLException,
java.net.URISyntaxException
serverUri - the new server urijava.net.MalformedURLException - the malformed url exceptionjava.net.URISyntaxException - the uRI syntax exceptionjava.net.URI getServerUri()
boolean getSynchronizeAutomatically()
void setSynchronizeAutomatically(boolean syncAutomatically)
syncAutomatically - int getDailyNetworkUtilizationInKB()
void setDailyNetworkUtilizationInKB(int dailyUtilizationLimit)
dailyUtilizationLimit - int getMaxStorageSizeInKB()
void setMaxStorageSizeInKB(int storageLimit)
storageLimit - void setTestMode(boolean testMode)
testMode - the new test modeboolean getTestMode()
void setUseSsl(boolean useSsl)
throws java.net.MalformedURLException,
java.net.URISyntaxException
useSsl - java.net.URISyntaxException - if the configured ServerUri is incorrectjava.net.MalformedURLException - if the configured ServerUri is incorrectboolean getUseHttps()
LocationCoordinates getLocationCoordinates()