Package com.wowza.wms.stats
Interface IStatsManager
public interface IStatsManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionGets the currently used IStatsDBManager interfaceboolean
Indicates if the Stats Manager is enabled.void
rollup
(IStatsDatabase<?> database) Rollups up the provided databasevoid
setDebugLogging
(boolean enable) enables/disables debug logging in the StatsManager.void
setStatsDatabaseManager
(IStatsDatabaseManager dbManager) Sets the DBManager to be used by the stats manager for open/closing the various databasesvoid
startManager
(IServer server) Starts the stats manager collecting stats datavoid
Stops the Stats manager collecting stats data
-
Field Details
-
SECONDS_RESOLUTION
static final int SECONDS_RESOLUTION- See Also:
-
HOURS_OF_REALTIME_STORAGE
static final int HOURS_OF_REALTIME_STORAGE- See Also:
-
DAYS_OF_MINUTES_STORAGE
static final int DAYS_OF_MINUTES_STORAGE- See Also:
-
DAYS_OF_HOURLY_STORAGE
static final int DAYS_OF_HOURLY_STORAGE- See Also:
-
DAYS_OF_DAILY_STORAGE
static final int DAYS_OF_DAILY_STORAGE- See Also:
-
-
Method Details
-
startManager
Starts the stats manager collecting stats data- Parameters:
server
- - IServer to collect data from
-
stopManager
void stopManager()Stops the Stats manager collecting stats data -
isEnabled
boolean isEnabled()Indicates if the Stats Manager is enabled. -
setStatsDatabaseManager
Sets the DBManager to be used by the stats manager for open/closing the various databases- Parameters:
dbManager
- - IStatsDBManager database manager
-
getStatsDatabaseManager
IStatsDatabaseManager getStatsDatabaseManager()Gets the currently used IStatsDBManager interface- Returns:
- IStatsDBManager
-
rollup
Rollups up the provided database- Parameters:
database
- server - IServer to collect data from
-
setDebugLogging
void setDebugLogging(boolean enable) enables/disables debug logging in the StatsManager.- Parameters:
enable
-
-