Package com.wowza.wms.stats
Interface IStatsManager
public interface IStatsManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionGets the currently used IStatsDBManager interfacebooleanIndicates if the Stats Manager is enabled.voidrollup(IStatsDatabase<?> database) Rollups up the provided databasevoidsetDebugLogging(boolean enable) enables/disables debug logging in the StatsManager.voidsetStatsDatabaseManager(IStatsDatabaseManager dbManager) Sets the DBManager to be used by the stats manager for open/closing the various databasesvoidstartManager(IServer server) Starts the stats manager collecting stats datavoidStops 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-
-