public class AnalyticsMonitorFactory
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static IAnalyticsMonitor |
create(IAnalyticsMonitorSettings settings)
Deprecated.
This method is replaced with createMonitor
|
static IAnalyticsMonitor |
create(java.lang.String productId,
Version version)
Deprecated.
This method is replaced by createMonitor
|
static IStorage |
createFileStorage(java.lang.String folder)
Creates an instance of the IStorage interface that stores data in a specified folder.
|
static IAnalyticsMonitor |
createMonitor(IAnalyticsMonitorSettings settings)
Returns a monitor instance for the settings.
|
static IAnalyticsMonitor |
createMonitor(java.lang.String productId,
Version version)
Returns a monitor instance for the given product id and application
version
|
static IAnalyticsMonitorSettings |
createSettings(java.lang.String productId,
Version version)
Creates an instance of the settings class to customize the monitor
|
static ILogAnalyticsMonitor |
createTraceMonitor()
Creates a simple ILogAnalyticsMonitor instance that logs messages to System.out.
|
@Deprecated public static IAnalyticsMonitor create(java.lang.String productId, Version version) throws java.lang.IllegalArgumentException, java.net.URISyntaxException
productId - the product idversion - the version of the containing application in the format
major.minor.build.revisionjava.lang.IllegalArgumentExceptionjava.net.URISyntaxExceptionIAnalyticsMonitorpublic static IAnalyticsMonitor createMonitor(java.lang.String productId, Version version) throws java.lang.IllegalArgumentException, java.net.URISyntaxException
productId - the product idversion - the version of the containing application in the format
major.minor.build.revisionjava.lang.IllegalArgumentExceptionjava.net.URISyntaxExceptionIAnalyticsMonitor@Deprecated public static IAnalyticsMonitor create(IAnalyticsMonitorSettings settings)
settings - the settings object for creating a monitor instancejava.lang.IllegalArgumentExceptionIAnalyticsMonitor,
AnalyticsMonitorSettingspublic static IAnalyticsMonitor createMonitor(IAnalyticsMonitorSettings settings)
settings - the settings object for creating a monitor instancejava.lang.IllegalArgumentExceptionIAnalyticsMonitor,
AnalyticsMonitorSettingspublic static IStorage createFileStorage(java.lang.String folder) throws java.io.IOException
folder - the folder to persist data tojava.io.IOException - if the specified folder is illegal or cannot be createdpublic static ILogAnalyticsMonitor createTraceMonitor()
public static IAnalyticsMonitorSettings createSettings(java.lang.String productId, Version version) throws java.lang.IllegalArgumentException, java.net.URISyntaxException
productId - the product idversion - the version of the applicationjava.lang.IllegalArgumentException - if the product id is not correctly formattedjava.net.URISyntaxException