public interface IStatsDatabaseManager
| Modifier and Type | Method and Description |
|---|---|
void |
applicationDeleteDatabase(String vhost,
String appName)
Deletes the stats database used to store the specified application stats data
|
IStatsDatabase<?> |
applicationGetDatabase(String vhost,
String appName)
Gets the IStatsDB database reference for use in reading and writing to the specified application stats data
|
void |
checkStorage()
Checks the permissions on the storage root provided.
|
boolean |
isStorageAvailable()
Indicates if the DB manager can read/write to the supplied storage root.
|
void |
machineDeleteDatabase()
Deletes the stats database used to store the machine stats data
|
IStatsDatabase<?> |
machineGetDatabase()
Gets the IStatsDB database reference for use in reading and writing to the machine stats data
|
void |
serverDeleteDatabase()
Deletes the stats database used to store the server stats data
|
IStatsDatabase<?> |
serverGetDatabase()
Gets the IStatsDB database reference for use in reading and writing to the server stats data
|
void |
setDebugLogging(boolean enable)
sets debug logging within the DB manager as well as any Stats Databases opened/created
|
void |
setStorageRoot(String storageRoot)
Sets the storage root for the stats database files
|
void |
vhostDeleteDatabase(String vhost)
Deletes the stats database used to store the specified vhost stats data
|
IStatsDatabase<?> |
vhostGetDatabase(String vhost)
Gets the IStatsDB database reference for use in reading and writing to the specified vhost stats data
|
void applicationDeleteDatabase(String vhost,
String appName)
IStatsDatabase<?> applicationGetDatabase(String vhost, String appName)
void checkStorage()
boolean isStorageAvailable()
void machineDeleteDatabase()
IStatsDatabase<?> machineGetDatabase()
void serverDeleteDatabase()
IStatsDatabase<?> serverGetDatabase()
void setDebugLogging(boolean enable)
enable - void setStorageRoot(String storageRoot)
storageRoot - absolute or relative paths acceptedvoid vhostDeleteDatabase(String vhost)
IStatsDatabase<?> vhostGetDatabase(String vhost)