|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JMX Interface to remotely manage a Virtual Databases.
Method Summary | |
boolean |
checkAdminAuthentication(java.lang.String adminLogin,
java.lang.String adminPassword)
Authenticate a user for a given virtual database |
void |
disableAllBackend()
Disable all backends for this virtual database |
void |
disableAllBackendForCheckpoint(java.lang.String checkpoint)
Disable all backends and store a checkpoint |
void |
disableBackend(java.lang.String databaseBackendName)
Disables a backend that is currently enabled on this virtual database (without further check). |
void |
disableBackendForCheckpoint(java.lang.String databaseBackendName,
java.lang.String checkpointName)
Disables a backend once all the pending write queries are executed. |
void |
enableAllBackend()
Prepare this virtual database for startup. |
void |
enableAllBackend(java.lang.String checkpoint)
Prepare this virtual database for startup. |
void |
enableBackend(java.lang.String databaseBackendName)
Enables a backend that has been previously added to this virtual database and that is in the disabled state. |
void |
enableBackendFromCheckpoint(java.lang.String databaseBackendName,
java.lang.String checkpointName)
Plays all the queries since the given checkpoint and enables the backend when it is completely synchronized. |
java.lang.String |
getBackendInformation(java.lang.String backendName)
Return information about the specified backend. |
java.lang.String |
getName()
Gets the virtual database name to be used by the client (C-JDBC driver) |
java.util.ArrayList |
viewAllBackendNames()
Get the name of all DatabaseBackend names. |
Method Detail |
public java.lang.String getBackendInformation(java.lang.String backendName) throws VirtualDatabaseException
backendName
- the backend logical name
VirtualDatabaseException
- if an error occurspublic void enableBackend(java.lang.String databaseBackendName) throws VirtualDatabaseException
databaseBackendName
- The database backend logical name to enable
VirtualDatabaseException
- in case of communication-related errorpublic void enableBackendFromCheckpoint(java.lang.String databaseBackendName, java.lang.String checkpointName) throws VirtualDatabaseException
databaseBackendName
- The database backend logical name to enablecheckpointName
- the checkpoint name to restart from
VirtualDatabaseException
- in case of communication-related errorpublic void disableBackend(java.lang.String databaseBackendName) throws VirtualDatabaseException
databaseBackendName
- The database backend logical name to enable
VirtualDatabaseException
- in case of communication-related errorpublic void disableBackendForCheckpoint(java.lang.String databaseBackendName, java.lang.String checkpointName) throws VirtualDatabaseException
databaseBackendName
- The database backend logical name to disablecheckpointName
- the checkpoint name to store
VirtualDatabaseException
- in case of communication-related errorpublic java.lang.String getName() throws VirtualDatabaseException
VirtualDatabaseException
- in case of communication-related errorpublic java.util.ArrayList viewAllBackendNames() throws VirtualDatabaseException
ArrayList
of String
representing database backend names
VirtualDatabaseException
- if an error occurspublic void enableAllBackend() throws VirtualDatabaseException
VirtualDatabaseException
- if failspublic void enableAllBackend(java.lang.String checkpoint) throws VirtualDatabaseException
checkpoint
- the checkpoint for the recovery log
VirtualDatabaseException
- if failspublic void disableAllBackend() throws VirtualDatabaseException
VirtualDatabaseException
- if failspublic void disableAllBackendForCheckpoint(java.lang.String checkpoint) throws VirtualDatabaseException
checkpoint
- the name of the checkpoitn
VirtualDatabaseException
- if failspublic boolean checkAdminAuthentication(java.lang.String adminLogin, java.lang.String adminPassword) throws VirtualDatabaseException
adminLogin
- usernameadminPassword
- password
VirtualDatabaseException
- if database does not exists
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |