VirtualDatabaseMBean.java の 43 行で定義されています。
Public メソッド | |
void | backupBackendWithCheckpoint (String backendName, String checkpointName, ArrayList tables) throws VirtualDatabaseException |
関数 | |
String | getBackendInformation (String backendName) throws VirtualDatabaseException |
boolean | hasRecoveryLog () |
String[] | viewBackendInformation (String backendName) throws VirtualDatabaseException |
void | enableBackend (String databaseBackendName) throws VirtualDatabaseException |
void | enableBackendFromLastCheckpoint (String backendName) throws VirtualDatabaseException |
void | enableBackendFromCheckpoint (String databaseBackendName, String checkpointName) throws VirtualDatabaseException |
void | disableBackend (String databaseBackendName) throws VirtualDatabaseException |
void | restoreBackendFromBackupCheckpoint (String databaseBackendName, String checkpointName) throws VirtualDatabaseException, BackupException, OctopusException |
void | disableBackendForCheckpoint (String databaseBackendName, String checkpointName) throws VirtualDatabaseException |
String | getName () |
ArrayList | viewCheckpointNames () |
String | getBackendState (String backendName) throws VirtualDatabaseException |
ArrayList | viewAllBackendNames () throws VirtualDatabaseException |
Hashtable | viewGroupBackends () throws VirtualDatabaseException |
void | enableAllBackend () throws VirtualDatabaseException |
void | enableAllBackend (String checkpoint) throws VirtualDatabaseException |
void | enableAllBackendsFromRecovery (String checkpoint) throws VirtualDatabaseException |
void | disableAllBackend () throws VirtualDatabaseException |
void | disableAllBackendForCheckpoint (String checkpoint) throws VirtualDatabaseException |
void | removeCheckpoint (String checkpoint) throws VirtualDatabaseException |
boolean | checkAdminAuthentication (String adminLogin, String adminPassword) throws VirtualDatabaseException |
void | shutdown () throws VirtualDatabaseException |
void | setBackendLastKnownCheckpoint (String backendName, String checkpoint) throws VirtualDatabaseException |
String | viewOwningController () |
boolean | isDistributed () |
void | replicateBackend (String backendName, String newBackendName, Map parameters) throws VirtualDatabaseException |
String[][] | retrieveBackendsData () throws Exception |
String[] | viewControllerList () |
void | removeBackend (String backend) throws VirtualDatabaseException |
void | transferBackend (String backend, String controllerDestination) throws VirtualDatabaseException |
void | callBackupManager (boolean backup, String backendName, String checkpoint, ArrayList tables, boolean enableAfter, BackupListener listener) throws VirtualDatabaseException |
|
Create a back up of a specific backend Note the backend will be disabled during backup, and will be put back to its previous state after backup.
|
|
Call the backup manager on the given backend. Start a fire and forget thread for backup or recovery. The only two ways to get the results is to wait for jmx notifications, or the listener given as a parameter.
|
|
Authenticate a user for a given virtual database
参照元 org.objectweb.cjdbc.console.text.module.VirtualDatabaseAdmin.login(), と org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionLoadAuthenticatedDatabase(). |
|
Disable all backends for this virtual database
参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.DisableAll.parse(). |
|
Disable all backends and store a checkpoint
参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.DisableAll.parse(). |
|
Disables a backend that is currently enabled on this virtual database (without further check).
参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.Disable.parse(), と org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionExecuteBackendDrop(). |
|
Disables a backend once all the pending write queries are executed. A checkpoint is inserted in the recovery log. The backend must belong to this virtual database and be in the enabled state.
参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.Disable.parse(), と org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionExecuteBackendDrop(). |
|
Prepare this virtual database for startup. This turns on all the backends
|
|
Prepare this virtual database for startup. This turns on all the backends
参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.EnableAll.parse(). |
|
This emulates the method enableAllBackend() except it tries to get previous backend states from the recovery log, and enable only the backends with a recorded state of enable.
|
|
Enables a backend that has been previously added to this virtual database and that is in the disabled state. The backend is enabled without further check.
参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.Enable.parse(), と org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionExecuteBackendDrop(). |
|
Plays all the queries since the given checkpoint and enables the backend when it is completely synchronized. The backend must have been previously added to this virtual database and be in the disabled state
参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.Enable.parse(), と org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionExecuteBackendDrop(). |
|
Enable the given backend from its last known checkpoint
参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.EnableWrite.parse(). |
|
Return information about the specified backend.
|
|
Return the state of a given database backend
|
|
Gets the virtual database name to be used by the client (C-JDBC driver)
|
|
Indicate whether there is a recovery log defined for this virtual database
参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.EnableWrite.parse(), と org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionLoadAuthenticatedDatabase(). |
|
Tells whether this database is distributed or not
参照元 org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionLoadBackendsList(). |
|
Remove a backend from the virtual database list. Do not check whether it is enabled or not, and do not perform backup operation
参照元 org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionRemoveBackend(). |
|
Disable all backends and store a checkpoint
参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.RemoveCheckpoint.parse(). |
|
Add an additionnal backend to the virtual database with connection managers identical to the backend replicated.
参照元 org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionCreateBackendExecute(). |
|
Recopy all the data of a previous dump recorded by octopus into the named backend. This disables the backend and leave it disable after recovery process. The user has to call the
参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.Restore.parse(). |
|
Retrieves an array of data on the backends for this virtual database
参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.ShowBackends.parse(). |
|
Sets the last known checkpoint of a backend. This will also update the value in the recovery log
|
|
Shutdown a virtual database in fast mode, disconnect clients
|
|
Transfer the backend to the destinated controller. Note that this does nothing in a non-distributed environment
参照元 org.objectweb.cjdbc.console.text.commands.dbadmin.TransferBackend.parse(), と org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionExecuteTransfer(). |
|
Get the name of all DatabaseBackend names.
参照元 org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionLoadBackendsList(). |
|
Returns an array of information on this backend The method above is not used at the moment ... This one is by the GUI.
参照元 org.objectweb.cjdbc.console.gui.CjdbcGui.actionSetBackendState(). |
|
Returns an array of names of all the checkpoint available in the recovery log of this virtual dabase.
参照元 org.objectweb.cjdbc.console.gui.CjdbcGui.actionDisplaySelectCheckpointFrame(), と org.objectweb.cjdbc.console.text.commands.dbadmin.ViewCheckpointNames.parse(). |
|
Return the list of controllers defining this virtual database. If the database is not distributed this returns the same as
参照元 org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionLoadAuthenticatedDatabase(), と org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionSelectNewDatabase(). |
|
Returns a mapping of controller jmx names with their backends Note the method is only useful in distributed environment
参照元 org.objectweb.cjdbc.console.gui.CjdbcGui.publicActionLoadBackendsList(). |
|
Name of the controller owning this virtual database
|