1 22 23 package org.continuent.sequoia.common.jmx.mbeans; 24 25 import java.util.List ; 26 27 33 public interface DatabaseBackendMBean 34 { 35 41 boolean isInitialized() throws Exception ; 42 43 48 boolean isReadEnabled(); 49 50 55 boolean isWriteEnabled(); 56 57 63 boolean isDisabled(); 64 65 69 void enableRead(); 70 71 75 void enableWrite(); 76 77 80 void disableRead(); 81 82 88 void disableWrite(); 89 90 96 void disable(); 97 98 103 String getConnectionTestStatement(); 104 105 110 String getDriverClassName(); 111 112 117 String getName(); 118 119 126 String getState(); 127 128 135 int getStateValue(); 136 137 147 List getPendingRequestsDescription(int count, boolean fromFirst, boolean clone); 148 149 155 List getActiveTransactions(); 156 157 164 String [] getTablesNames(); 165 166 174 String [] getColumnsNames(String tableName); 175 176 184 String getLockInfo(String tableName); 185 186 195 String [] getStoredProceduresNames(); 196 197 202 String getURL(); 203 204 209 String getDriverPath(); 210 211 216 String getLastKnownCheckpoint(); 217 218 224 boolean isJDBCConnected(); 225 226 233 String getXml(); 234 } | Popular Tags |