00001
00025
package org.objectweb.cjdbc.common.jmx.mbeans;
00026
00027
import org.objectweb.cjdbc.common.exceptions.DataCollectorException;
00028
import org.objectweb.cjdbc.common.monitor.AbstractDataCollector;
00029
00036 public interface
DataCollectorMBean
00037 {
00038
00039
00040
00041
00042
00050 String[][] retrieveControllerLoadData()
throws DataCollectorException;
00051
00059 String[][] retrieveVirtualDatabasesData()
throws DataCollectorException;
00060
00067
boolean hasVirtualDatabase(String name);
00068
00069
00070
00071
00072
00079 String[][] retrieveSQLStats()
throws DataCollectorException;
00080
00087 String[][] retrieveCacheData()
throws DataCollectorException;
00088
00095 String[][] retrieveCacheStatsData()
throws DataCollectorException;
00096
00103 String[][] retrieveBackendsData()
throws DataCollectorException;
00104
00111 String[][] retrieveClientsData()
throws DataCollectorException;
00112
00120 String[][] retrieveSQLStats(String virtualDatabasename)
00121
throws DataCollectorException;
00122
00130 String[][] retrieveCacheData(String virtualDatabasename)
00131
throws DataCollectorException;
00132
00140 String[][] retrieveCacheStatsData(String virtualDatabasename)
00141
throws DataCollectorException;
00142
00150 String[][] retrieveBackendsData(String virtualDatabasename)
00151
throws DataCollectorException;
00152
00161 String[][] retrieveSchedulerData(String virtualDatabasename)
00162
throws DataCollectorException;
00163
00171 String[][] retrieveClientsData(String virtualDatabasename)
00172
throws DataCollectorException;
00173
00174
00175
00176
00184
long retrieveData(
AbstractDataCollector collector)
00185
throws DataCollectorException;
00186
00197
AbstractDataCollector retrieveDataCollectorInstance(
int dataType,
00198 String targetName, String virtualDbName)
throws DataCollectorException;
00199
00207 String[][] retrieveRecoveryLogData(String databaseName)
throws DataCollectorException;
00208
00209 }