Package com.wowza.wms.stats
Interface IStatsManager
-
public interface IStatsManager
-
-
Field Summary
Fields Modifier and Type Field Description static int
DAYS_OF_DAILY_STORAGE
static int
DAYS_OF_HOURLY_STORAGE
static int
DAYS_OF_MINUTES_STORAGE
static int
HOURS_OF_REALTIME_STORAGE
static int
SECONDS_RESOLUTION
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IStatsDatabaseManager
getStatsDatabaseManager()
Gets the currently used IStatsDBManager interfaceboolean
isEnabled()
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
stopManager()
Stops the Stats manager collecting stats data
-
-
-
Field Detail
-
SECONDS_RESOLUTION
static final int SECONDS_RESOLUTION
- See Also:
- Constant Field Values
-
HOURS_OF_REALTIME_STORAGE
static final int HOURS_OF_REALTIME_STORAGE
- See Also:
- Constant Field Values
-
DAYS_OF_MINUTES_STORAGE
static final int DAYS_OF_MINUTES_STORAGE
- See Also:
- Constant Field Values
-
DAYS_OF_HOURLY_STORAGE
static final int DAYS_OF_HOURLY_STORAGE
- See Also:
- Constant Field Values
-
DAYS_OF_DAILY_STORAGE
static final int DAYS_OF_DAILY_STORAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
startManager
void startManager(IServer server)
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
void setStatsDatabaseManager(IStatsDatabaseManager dbManager)
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
void rollup(IStatsDatabase<?> database)
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
-
-
-