|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
DataCollector interface to used via JMX. This interface defines the entry point to collect dynamic data for all c-jdbc components.
Method Summary | |
boolean |
hasVirtualDatabase(java.lang.String name)
Try to see if a virtual database exists from its name |
java.lang.String[][] |
retrieveBackendsData()
Get the current list of backends data for all databases |
java.lang.String[][] |
retrieveBackendsData(java.lang.String virtualDatabasename)
Get the current list of backends data |
java.lang.String[][] |
retrieveCacheData()
Get the current cache content for all databases |
java.lang.String[][] |
retrieveCacheData(java.lang.String virtualDatabasename)
Get the current cache content |
java.lang.String[][] |
retrieveCacheStatsData()
Get the current cache stats content for all databases |
java.lang.String[][] |
retrieveCacheStatsData(java.lang.String virtualDatabasename)
Get the current cache stats content |
java.lang.String[][] |
retrieveClientsData()
Get the current list of current users and associated data for all databases |
java.lang.String[][] |
retrieveClientsData(java.lang.String virtualDatabasename)
Get the current list of current users and associated data |
java.lang.String[][] |
retrieveControllerLoadData()
Get general information on the load of the controller. |
long |
retrieveData(AbstractDataCollector collector)
Get some data information on a fine grain approach |
AbstractDataCollector |
retrieveDataCollectorInstance(int dataType,
java.lang.String targetName,
java.lang.String virtualDbName)
Get starting point for exchanging data on a particular target |
java.lang.String[][] |
retrieveRecoveryLogData(java.lang.String databaseName)
Gets content data of the recovery log |
java.lang.String[][] |
retrieveSchedulerData(java.lang.String virtualDatabasename)
Retrive information about the scheduler, like number of pending requests, number of writes executed and number of read executed |
java.lang.String[][] |
retrieveSQLStats()
Get the current SQL statistics for all databases |
java.lang.String[][] |
retrieveSQLStats(java.lang.String virtualDatabasename)
Get the current SQL statistics |
java.lang.String[][] |
retrieveVirtualDatabasesData()
Get dynamic data of the different virtual databases, like pending connections size, currentNb of threads and number of active threads. |
Method Detail |
public java.lang.String[][] retrieveControllerLoadData() throws DataCollectorException
DataCollectorException
- if collection of information failspublic java.lang.String[][] retrieveVirtualDatabasesData() throws DataCollectorException
DataCollectorException
- if collection of information failspublic boolean hasVirtualDatabase(java.lang.String name)
name
- of the virtual database
public java.lang.String[][] retrieveSQLStats() throws DataCollectorException
DataCollectorException
- if collection of information failspublic java.lang.String[][] retrieveCacheData() throws DataCollectorException
DataCollectorException
- if collection of information failspublic java.lang.String[][] retrieveCacheStatsData() throws DataCollectorException
DataCollectorException
- if collection of information failspublic java.lang.String[][] retrieveBackendsData() throws DataCollectorException
DataCollectorException
- if collection of information failspublic java.lang.String[][] retrieveClientsData() throws DataCollectorException
DataCollectorException
- if collection of information failspublic java.lang.String[][] retrieveSQLStats(java.lang.String virtualDatabasename) throws DataCollectorException
virtualDatabasename
- of the database to get the data from
DataCollectorException
- if collection of information failspublic java.lang.String[][] retrieveCacheData(java.lang.String virtualDatabasename) throws DataCollectorException
virtualDatabasename
- of the database to get the data from
DataCollectorException
- if collection of information failspublic java.lang.String[][] retrieveCacheStatsData(java.lang.String virtualDatabasename) throws DataCollectorException
virtualDatabasename
- of the database to get the data from
DataCollectorException
- if collection of information failspublic java.lang.String[][] retrieveBackendsData(java.lang.String virtualDatabasename) throws DataCollectorException
virtualDatabasename
- of the database to get the data from
DataCollectorException
- if collection of information failspublic java.lang.String[][] retrieveSchedulerData(java.lang.String virtualDatabasename) throws DataCollectorException
virtualDatabasename
- of the database to get the data from
DataCollectorException
- if collection of data failspublic java.lang.String[][] retrieveClientsData(java.lang.String virtualDatabasename) throws DataCollectorException
virtualDatabasename
- of the database to get the data from
DataCollectorException
- if collection of information failspublic long retrieveData(AbstractDataCollector collector) throws DataCollectorException
collector
- for the data to be accessed
long
value of the data
DataCollectorException
- if collection of information failspublic AbstractDataCollector retrieveDataCollectorInstance(int dataType, java.lang.String targetName, java.lang.String virtualDbName) throws DataCollectorException
dataType
- as given in the DataCollection interfacetargetName
- if needed (like backendname,clientName ...)virtualDbName
- if needed
DataCollectorException
- if fails to get proper collector instanceDataCollection
public java.lang.String[][] retrieveRecoveryLogData(java.lang.String databaseName) throws DataCollectorException
databaseName
- the virtual database name
DataCollectorException
- if collection of information fails
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |