Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean Interface Reference

List of all members.

Public Member Functions

String[][] retrieveControllerLoadData () throws DataCollectorException

Package Functions

String[][] retrieveVirtualDatabasesData () throws DataCollectorException
boolean hasVirtualDatabase (String name)
String[][] retrieveSQLStats () throws DataCollectorException
String[][] retrieveCacheData () throws DataCollectorException
String[][] retrieveCacheStatsData () throws DataCollectorException
String[][] retrieveBackendsData () throws DataCollectorException
String[][] retrieveClientsData () throws DataCollectorException
String[][] retrieveSQLStats (String virtualDatabasename) throws DataCollectorException
String[][] retrieveCacheData (String virtualDatabasename) throws DataCollectorException
String[][] retrieveCacheStatsData (String virtualDatabasename) throws DataCollectorException
String[][] retrieveBackendsData (String virtualDatabasename) throws DataCollectorException
String[][] retrieveSchedulerData (String virtualDatabasename) throws DataCollectorException
String[][] retrieveClientsData (String virtualDatabasename) throws DataCollectorException
long retrieveData (AbstractDataCollector collector) throws DataCollectorException
AbstractDataCollector retrieveDataCollectorInstance (int dataType, String targetName, String virtualDbName) throws DataCollectorException
String[][] retrieveRecoveryLogData (String databaseName) throws DataCollectorException

Detailed Description

DataCollector interface to used via JMX. This interface defines the entry point to collect dynamic data for all c-jdbc components.

Author:
Nicolas Modrzyk

Definition at line 36 of file DataCollectorMBean.java.


Member Function Documentation

boolean org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.hasVirtualDatabase String  name  )  [package]
 

Try to see if a virtual database exists from its name

Parameters:
name of the virtual database
Returns:
true if exists, false otherwise

String [][] org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.retrieveBackendsData String  virtualDatabasename  )  throws DataCollectorException [package]
 

Get the current list of backends data

Parameters:
virtualDatabasename of the database to get the data from
Returns:
the backend list content
Exceptions:
DataCollectorException if collection of information fails

String [][] org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.retrieveBackendsData  )  throws DataCollectorException [package]
 

Get the current list of backends data for all databases

Exceptions:
DataCollectorException if collection of information fails
Returns:
the backend list content

String [][] org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.retrieveCacheData String  virtualDatabasename  )  throws DataCollectorException [package]
 

Get the current cache content

Parameters:
virtualDatabasename of the database to get the data from
Returns:
the cache content
Exceptions:
DataCollectorException if collection of information fails

String [][] org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.retrieveCacheData  )  throws DataCollectorException [package]
 

Get the current cache content for all databases

Exceptions:
DataCollectorException if collection of information fails
Returns:
the cache content

String [][] org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.retrieveCacheStatsData String  virtualDatabasename  )  throws DataCollectorException [package]
 

Get the current cache stats content

Parameters:
virtualDatabasename of the database to get the data from
Returns:
the cache stats content
Exceptions:
DataCollectorException if collection of information fails

String [][] org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.retrieveCacheStatsData  )  throws DataCollectorException [package]
 

Get the current cache stats content for all databases

Exceptions:
DataCollectorException if collection of information fails
Returns:
the cache stats content

String [][] org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.retrieveClientsData String  virtualDatabasename  )  throws DataCollectorException [package]
 

Get the current list of current users and associated data

Parameters:
virtualDatabasename of the database to get the data from
Returns:
data on users
Exceptions:
DataCollectorException if collection of information fails

String [][] org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.retrieveClientsData  )  throws DataCollectorException [package]
 

Get the current list of current users and associated data for all databases

Exceptions:
DataCollectorException if collection of information fails
Returns:
data on users

String [][] org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.retrieveControllerLoadData  )  throws DataCollectorException
 

Get general information on the load of the controller. Get the number of threads and total memory used up

Exceptions:
DataCollectorException if collection of information fails
Returns:
array of strings

long org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.retrieveData AbstractDataCollector  collector  )  throws DataCollectorException [package]
 

Get some data information on a fine grain approach

Parameters:
collector for the data to be accessed
Returns:
long value of the data
Exceptions:
DataCollectorException if collection of information fails

AbstractDataCollector org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.retrieveDataCollectorInstance int  dataType,
String  targetName,
String  virtualDbName
throws DataCollectorException [package]
 

Get starting point for exchanging data on a particular target

Parameters:
dataType as given in the DataCollection interface
targetName if needed (like backendname,clientName ...)
virtualDbName if needed
Returns:
collector instance
Exceptions:
DataCollectorException if fails to get proper collector instance
See also:
org.objectweb.cjdbc.common.monitor.DataCollection

String [][] org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.retrieveRecoveryLogData String  databaseName  )  throws DataCollectorException [package]
 

Gets content data of the recovery log

Parameters:
databaseName the virtual database name
Returns:
data on the recovery log
Exceptions:
DataCollectorException if collection of information fails

String [][] org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.retrieveSchedulerData String  virtualDatabasename  )  throws DataCollectorException [package]
 

Retrive information about the scheduler, like number of pending requests, number of writes executed and number of read executed

Parameters:
virtualDatabasename of the database to get the data from
Returns:
data on the associated scheduler
Exceptions:
DataCollectorException if collection of data fails

String [][] org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.retrieveSQLStats String  virtualDatabasename  )  throws DataCollectorException [package]
 

Get the current SQL statistics

Parameters:
virtualDatabasename of the database to get the data from
Returns:
the statistics
Exceptions:
DataCollectorException if collection of information fails

String [][] org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.retrieveSQLStats  )  throws DataCollectorException [package]
 

Get the current SQL statistics for all databases

Exceptions:
DataCollectorException if collection of information fails
Returns:
the statistics

String [][] org.objectweb.cjdbc.common.jmx.mbeans.DataCollectorMBean.retrieveVirtualDatabasesData  )  throws DataCollectorException [package]
 

Get dynamic data of the different virtual databases, like pending connections size, currentNb of threads and number of active threads.

Exceptions:
DataCollectorException if collection of information fails
Returns:
array of strings


The documentation for this interface was generated from the following file:
Generated on Mon Apr 11 22:01:42 2005 for C-JDBC by  doxygen 1.3.9.1