1 24 25 package org.objectweb.cjdbc.common.jmx.mbeans; 26 27 import org.objectweb.cjdbc.common.exceptions.DataCollectorException; 28 import org.objectweb.cjdbc.common.monitor.AbstractDataCollector; 29 30 36 public interface DataCollectorMBean 37 { 38 39 43 50 String [][] retrieveControllerLoadData() throws DataCollectorException; 51 52 59 String [][] retrieveVirtualDatabasesData() throws DataCollectorException; 60 61 67 boolean hasVirtualDatabase(String name); 68 69 73 79 String [][] retrieveSQLStats() throws DataCollectorException; 80 81 87 String [][] retrieveCacheData() throws DataCollectorException; 88 89 95 String [][] retrieveCacheStatsData() throws DataCollectorException; 96 97 103 String [][] retrieveBackendsData() throws DataCollectorException; 104 105 111 String [][] retrieveClientsData() throws DataCollectorException; 112 113 120 String [][] retrieveSQLStats(String virtualDatabasename) 121 throws DataCollectorException; 122 123 130 String [][] retrieveCacheData(String virtualDatabasename) 131 throws DataCollectorException; 132 133 140 String [][] retrieveCacheStatsData(String virtualDatabasename) 141 throws DataCollectorException; 142 143 150 String [][] retrieveBackendsData(String virtualDatabasename) 151 throws DataCollectorException; 152 153 161 String [][] retrieveSchedulerData(String virtualDatabasename) 162 throws DataCollectorException; 163 164 171 String [][] retrieveClientsData(String virtualDatabasename) 172 throws DataCollectorException; 173 174 184 long retrieveData(AbstractDataCollector collector) 185 throws DataCollectorException; 186 187 197 AbstractDataCollector retrieveDataCollectorInstance(int dataType, 198 String targetName, String virtualDbName) throws DataCollectorException; 199 200 207 String [][] retrieveRecoveryLogData(String databaseName) throws DataCollectorException; 208 209 } | Popular Tags |