インタフェースorg.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBeanに対する継承グラフ

Inheritance graph
[凡例]
すべてのメンバ一覧

説明

JMX Interface to remotely manage a Virtual Databases.

作者:
Emmanuel Cecchet

Nicolas Modrzyk

バージョン:
1.0

VirtualDatabaseMBean.java40 行で定義されています。

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 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 () throws VirtualDatabaseException
ArrayList viewCheckpointNames ()
String getBackendState (String backendName) throws VirtualDatabaseException
ArrayList viewAllBackendNames () throws VirtualDatabaseException
void enableAllBackend () throws VirtualDatabaseException
void enableAllBackend (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
String viewOwningController ()
boolean isDistributed ()


メソッド

void org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.backupBackendWithCheckpoint String  backendName,
String  checkpointName,
ArrayList  tables
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.

引数:
backendName to backup
checkpointName to associate this backup with
tables to copy or null if copy all
例外:
VirtualDatabaseException if fails

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

boolean org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.checkAdminAuthentication String  adminLogin,
String  adminPassword
throws VirtualDatabaseException [package]
 

Authenticate a user for a given virtual database

引数:
adminLogin username
adminPassword password
戻り値:
true if authentication is a success, false otherwise
例外:
VirtualDatabaseException if database does not exists

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

void org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.disableAllBackend  )  throws VirtualDatabaseException [package]
 

Disable all backends for this virtual database

例外:
VirtualDatabaseException if fails

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

void org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.disableAllBackendForCheckpoint String  checkpoint  )  throws VirtualDatabaseException [package]
 

Disable all backends and store a checkpoint

引数:
checkpoint the name of the checkpoitn
例外:
VirtualDatabaseException if fails

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

void org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.disableBackend String  databaseBackendName  )  throws VirtualDatabaseException [package]
 

Disables a backend that is currently enabled on this virtual database (without further check).

引数:
databaseBackendName The database backend logical name to enable
例外:
VirtualDatabaseException in case of communication-related error

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

void org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.disableBackendForCheckpoint String  databaseBackendName,
String  checkpointName
throws VirtualDatabaseException [package]
 

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.

引数:
databaseBackendName The database backend logical name to disable
checkpointName the checkpoint name to store
例外:
VirtualDatabaseException in case of communication-related error

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

void org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.enableAllBackend String  checkpoint  )  throws VirtualDatabaseException [package]
 

Prepare this virtual database for startup. This turns on all the backends

引数:
checkpoint the checkpoint for the recovery log
例外:
VirtualDatabaseException if fails

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

void org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.enableAllBackend  )  throws VirtualDatabaseException [package]
 

Prepare this virtual database for startup. This turns on all the backends

例外:
VirtualDatabaseException if fails

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

void org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.enableBackend String  databaseBackendName  )  throws VirtualDatabaseException [package]
 

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.

引数:
databaseBackendName The database backend logical name to enable
例外:
VirtualDatabaseException in case of communication-related error

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

void org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.enableBackendFromCheckpoint String  databaseBackendName,
String  checkpointName
throws VirtualDatabaseException [package]
 

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

引数:
databaseBackendName The database backend logical name to enable
checkpointName the checkpoint name to restart from
例外:
VirtualDatabaseException in case of communication-related error

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

String org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.getBackendInformation String  backendName  )  throws VirtualDatabaseException [package]
 

Return information about the specified backend.

引数:
backendName the backend logical name
戻り値:
String the backend information
例外:
VirtualDatabaseException if an error occurs

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

String org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.getBackendState String  backendName  )  throws VirtualDatabaseException [package]
 

Return the state of a given database backend

引数:
backendName the name of the backend
戻り値:
String description of the database backend
例外:
VirtualDatabaseException if fails

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

String org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.getName  )  throws VirtualDatabaseException [package]
 

Gets the virtual database name to be used by the client (C-JDBC driver)

戻り値:
the virtual database name
例外:
VirtualDatabaseException in case of communication-related error

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

boolean org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.hasRecoveryLog  )  [package]
 

Indicate whether there is a recovery log defined for this virtual database

戻り値:
true if the recovery log is defined and can be accessed, false otherwise

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

boolean org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.isDistributed  )  [package]
 

Tells whether this database is distributed or not

戻り値:
true if the database is distributed among multiple controllers false if it exists on a single controller only

org.objectweb.cjdbc.controller.virtualdatabase.DistributedVirtualDatabase, と org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

void org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.removeCheckpoint String  checkpoint  )  throws VirtualDatabaseException [package]
 

Disable all backends and store a checkpoint

引数:
checkpoint the name of the checkpoitn
例外:
VirtualDatabaseException if fails

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

void org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.restoreBackendFromBackupCheckpoint String  databaseBackendName,
String  checkpointName
throws VirtualDatabaseException, BackupException, OctopusException [package]
 

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 enableBackendFromCheckpoint after this.

引数:
databaseBackendName the name of the backend to restore
checkpointName the name of the checkpoint that has a dump
例外:
VirtualDatabaseException if cannot access the backend from its name
OctopusException if backup failed while in octopus mode
BackupException if backup failed for other reasons

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

void org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.shutdown  )  throws VirtualDatabaseException [package]
 

Shutdown a virtual database in fast mode, disconnect clients

例外:
VirtualDatabaseException if fails

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

ArrayList org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.viewAllBackendNames  )  throws VirtualDatabaseException [package]
 

Get the name of all DatabaseBackend names.

戻り値:
ArrayList ArrayList of String representing database backend names
例外:
VirtualDatabaseException if an error occurs

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

String [] org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.viewBackendInformation String  backendName  )  throws VirtualDatabaseException [package]
 

Returns an array of information on this backend The method above is not used at the moment ... This one is by the GUI.

引数:
backendName the name of the backend
戻り値:
String[]
例外:
VirtualDatabaseException if an error occurs

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

ArrayList org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.viewCheckpointNames  )  [package]
 

Returns an array of names of all the checkpoint available in the recovery log of this virtual dabase.

戻り値:
ArrayList of checkpoint names. Can be empty

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.

String org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseMBean.viewOwningController  )  [package]
 

Name of the controller owning this virtual database

戻り値:
url of the controller

org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabaseを実装しています.


このインタフェースの説明は次のファイルから生成されました:
CJDBCversion1.0rc6に対してWed May 5 18:03:08 2004に生成されました。 doxygen 1.3.6