DatabaseBackendMBean.java の 38 行で定義されています。
Public メソッド | |
boolean | hasTables (ArrayList tables) |
関数 | |
boolean | hasTable (String table) |
boolean | hasStoredProcedure (String procedureName) |
boolean | isInitialized () throws Exception |
boolean | isReadEnabled () |
boolean | isWriteEnabled () |
boolean | isDisabled () |
void | enableRead () |
void | enableWrite () |
void | disableRead () |
void | disableWrite () |
void | disable () |
String | getConnectionTestStatement () |
String | getDriverClassName () |
String | getName () |
String | getState () |
Vector | getPendingRequests () |
ArrayList | getActiveTransactions () |
boolean | checkDatabaseSchema () |
DatabaseSchema | getDatabaseSchema () |
void | checkDriverCompliance () throws Exception |
String | getURL () |
boolean | isSchemaStatic () |
String | getDriverPath () |
void | setLastKnownCheckpoint (String checkpoint) |
String | getLastKnownCheckpoint () |
|
Checks that the current database schema is compatible with all schema gathered from each connection manager. If no schema has been defined, the first gathered schema is used as the current database schema. For each schema that is not compatible with the current schema, a warning is issued on the logger for that backend
|
|
Check if the driver used by this backend is compliant with C-JDBC needs.
|
|
Sets the database backend state to disable. This state is just an indication and it has no semantic effect. It is up to the request manager (especially the load balancer) to ensure that no more requests are sent to this backend. |
|
Disables the database backend for reads. This does not affect write ability 参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.DisableRead.parse(). |
|
Disables the database backend for writes. This does not affect read ability although the backend will not be coherent anymore as soon as a write as occured. This should be used in conjunction with a checkpoint to recover missing writes. 参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.DisableWrite.parse(). |
|
Enables the database backend for reads. This method should only be called when the backend is synchronized with the others. 参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.EnableRead.parse(). |
|
Enables the database backend for writes. This method should only be called when the backend is synchronized with the others. 参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.EnableWrite.parse(). |
|
Returns the list of active transactions for this backend.
|
|
Returns the SQL statement to use to check the connection validity.
|
|
Returns the schema of this database.
|
|
Returns the database native JDBC driver class name.
|
|
Returns the driver path.
|
|
Returns the lastKnownCheckpoint value.
|
|
Returns the backend logical name.
参照元 org.objectweb.cjdbc.console.gui.CjdbcGui.actionSetBackendState(). |
|
Returns the list of pending requests for this backend.
|
|
Returns a description of the state of the backend
参照元 org.objectweb.cjdbc.console.gui.CjdbcGui.actionSetBackendState(). |
|
Returns the JDBC URL used to access the database.
|
|
Returns
|
|
Returns
|
|
Returns
|
|
Is the backend completely disabled ? This usually means it has a known state with a checkpoint associated to it.
|
|
Tests if this backend is enabled (active and synchronized).
|
|
Tests if this backend is read enabled (active and synchronized).
|
|
|
|
Tests if this backend is write enabled (active and synchronized).
参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.EnableWrite.parse(). |
|
setLastKnownCheckpoint for this backend
参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.DisableWrite.parse(). |