|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DatabaseBackend | |
org.objectweb.cjdbc.common.shared | Common minor classes and interfaces to communicate between the console and the controller |
org.objectweb.cjdbc.controller.backend | Database backend core. |
org.objectweb.cjdbc.controller.backup | Set of classes to wrap calls and execution of Octopus to execute backup and recovery of databases |
org.objectweb.cjdbc.controller.loadbalancer | All C-JDBC load balancers are subpackage of this one which provides the load balancer interface and the core backend thread. |
org.objectweb.cjdbc.controller.loadbalancer.paralleldb | ParallelDB load balancers to use with parallel databases. |
org.objectweb.cjdbc.controller.loadbalancer.raidb0 | RAIDb-0 load balancers. |
org.objectweb.cjdbc.controller.loadbalancer.raidb1 | RAIDb-1 (full replication) load balancers. |
org.objectweb.cjdbc.controller.loadbalancer.raidb2 | RAIDb-2 (partial replication) load balancers. |
org.objectweb.cjdbc.controller.loadbalancer.singledb | Load balancer for single backend systems. |
org.objectweb.cjdbc.controller.recoverylog | Recovery Log core. |
org.objectweb.cjdbc.controller.requestmanager | Request Manager core including the request parsing cache. |
org.objectweb.cjdbc.controller.requestmanager.distributed | Distributed implementation of the request manager. |
org.objectweb.cjdbc.controller.virtualdatabase | Virtual database core code including connection handling. |
org.objectweb.cjdbc.controller.virtualdatabase.protocol | Differemt group messages for the distributed version of the virtual database. |
org.objectweb.cjdbc.controller.xml | XML configuration files parsing |
Uses of DatabaseBackend in org.objectweb.cjdbc.common.shared |
Methods in org.objectweb.cjdbc.common.shared that return DatabaseBackend | |
DatabaseBackend |
BackendInfo.getDatabaseBackend()
Create a corresponding DatabaseBackend object from the information stored in this object. |
Constructors in org.objectweb.cjdbc.common.shared with parameters of type DatabaseBackend | |
BackendInfo(DatabaseBackend backend)
Creates a new BackendInfo object. |
Uses of DatabaseBackend in org.objectweb.cjdbc.controller.backend |
Methods in org.objectweb.cjdbc.controller.backend that return DatabaseBackend | |
DatabaseBackend |
DatabaseBackend.copy(java.lang.String newName,
java.util.Map parameters)
Returns a deeply copied clone of this backend Will use the same rewriting rules and will get new instance of connection managers with the same configuration |
Methods in org.objectweb.cjdbc.controller.backend with parameters of type DatabaseBackend | |
void |
BackendStateListener.changeState(DatabaseBackend backend)
Update the persistent state of the backend in the recovery log |
Uses of DatabaseBackend in org.objectweb.cjdbc.controller.backup |
Fields in org.objectweb.cjdbc.controller.backup declared as DatabaseBackend | |
private DatabaseBackend |
Octopus.database
|
Methods in org.objectweb.cjdbc.controller.backup with parameters of type DatabaseBackend | |
(package private) java.util.Hashtable |
Octopus.getOctopusStrings(DatabaseBackend database)
|
void |
BackupManager.backup(DatabaseBackend backend,
java.lang.String checkpoint,
java.util.ArrayList tables,
BackupListener listener)
Create a backup from the content of a backend |
void |
BackupManager.getResult(DatabaseBackend backend,
long waitTime)
Get the result of the backup/recovery process for the given backend |
void |
BackupManager.restore(DatabaseBackend backend,
java.lang.String checkpoint,
java.util.ArrayList tables,
BackupListener listener)
Restore the content of a backup onto a specific backend |
Constructors in org.objectweb.cjdbc.controller.backup with parameters of type DatabaseBackend | |
Octopus(DatabaseBackend database,
java.lang.String checkpoint)
Instanciate hook to octopus |
|
Octopus(DatabaseBackend database,
java.lang.String checkpoint,
boolean backupMode)
Creates a new Octopus object and sets the mode to use it as
a thread |
|
Octopus(DatabaseBackend database,
java.lang.String checkpoint,
java.util.ArrayList tables,
boolean backupMode)
Use Octopus only for a set of tables |
|
Octopus(DatabaseBackend database,
java.lang.String checkpoint,
java.util.ArrayList tables)
Use Octopus only for a set of tables |
Uses of DatabaseBackend in org.objectweb.cjdbc.controller.loadbalancer |
Fields in org.objectweb.cjdbc.controller.loadbalancer declared as DatabaseBackend | |
private DatabaseBackend |
BackendWorkerThread.backend
|
Methods in org.objectweb.cjdbc.controller.loadbalancer that return DatabaseBackend | |
DatabaseBackend |
BackendWorkerThread.getBackend()
Returns the backend. |
Methods in org.objectweb.cjdbc.controller.loadbalancer with parameters of type DatabaseBackend | |
static ControllerResultSet |
AbstractLoadBalancer.executeSelectRequestOnBackend(SelectRequest request,
DatabaseBackend backend,
java.sql.Connection c,
MetadataCache metadataCache)
Execute a statement on a backend. |
static int |
AbstractLoadBalancer.executeUpdateRequestOnBackend(AbstractWriteRequest request,
DatabaseBackend backend,
java.sql.Connection c)
Execute an update prepared statement on a backend. |
static ControllerResultSet |
AbstractLoadBalancer.executeUpdateRequestOnBackendWithKeys(AbstractWriteRequest request,
DatabaseBackend backend,
java.sql.Connection c,
MetadataCache metadataCache)
Execute an update prepared statement on a backend. |
static ControllerResultSet |
AbstractLoadBalancer.executeReadStoredProcedureOnBackend(StoredProcedure proc,
DatabaseBackend backend,
java.sql.Connection c,
MetadataCache metadataCache)
Execute a read stored procedure on the given backend. |
static int |
AbstractLoadBalancer.executeWriteStoredProcedureOnBackend(StoredProcedure proc,
DatabaseBackend backend,
java.sql.Connection c)
Execute a write stored procedure on the given backend. |
abstract void |
AbstractLoadBalancer.enableBackend(DatabaseBackend db,
boolean writeEnabled)
Enable a backend without further check. |
abstract void |
AbstractLoadBalancer.disableBackend(DatabaseBackend db)
Disable a backend without further check. |
static java.sql.Connection |
AbstractLoadBalancer.getConnectionAndBeginTransaction(DatabaseBackend backend,
AbstractConnectionManager cm,
long tid)
Factorized code to start a transaction on a backend and to retrieve a connection on this backend |
Constructors in org.objectweb.cjdbc.controller.loadbalancer with parameters of type DatabaseBackend | |
BackendWorkerThread(DatabaseBackend backend,
AbstractLoadBalancer loadBalancer)
Creates a new BackendWorkerThread . |
|
BackendWorkerThread(java.lang.String name,
DatabaseBackend backend,
AbstractLoadBalancer loadBalancer)
Creates a new BackendWorkerThread . |
Uses of DatabaseBackend in org.objectweb.cjdbc.controller.loadbalancer.paralleldb |
Methods in org.objectweb.cjdbc.controller.loadbalancer.paralleldb that return DatabaseBackend | |
DatabaseBackend |
ParallelDB_RR.chooseBackendForReadRequest(AbstractRequest request)
Choose a backend using a round-robin algorithm for read request execution. |
DatabaseBackend |
ParallelDB_RR.chooseBackendForWriteRequest(AbstractWriteRequest request)
Choose a backend using a round-robin algorithm for write request execution. |
DatabaseBackend |
ParallelDB_LPRF.chooseBackendForReadRequest(AbstractRequest request)
|
DatabaseBackend |
ParallelDB_LPRF.chooseBackendForWriteRequest(AbstractWriteRequest request)
|
abstract DatabaseBackend |
ParallelDB.chooseBackendForReadRequest(AbstractRequest request)
Choose a backend using the implementation specific load balancing algorithm for read request execution. |
abstract DatabaseBackend |
ParallelDB.chooseBackendForWriteRequest(AbstractWriteRequest request)
Choose a backend using the implementation specific load balancing algorithm for write request execution. |
Methods in org.objectweb.cjdbc.controller.loadbalancer.paralleldb with parameters of type DatabaseBackend | |
private ControllerResultSet |
ParallelDB.executeReadRequestOnBackend(SelectRequest request,
DatabaseBackend backend,
MetadataCache metadataCache)
Execute a read request on the selected backend. |
private ControllerResultSet |
ParallelDB.executeReadStoredProcedureOnBackend(StoredProcedure proc,
DatabaseBackend backend,
MetadataCache metadataCache)
Execute a stored procedure on the selected backend. |
private int |
ParallelDB.executeWriteRequestOnBackend(AbstractWriteRequest request,
DatabaseBackend backend)
Execute a write request on the selected backend. |
private ControllerResultSet |
ParallelDB.executeWriteRequestWithKeysOnBackend(AbstractWriteRequest request,
DatabaseBackend backend,
MetadataCache metadataCache)
Execute a write request on the selected backend and return the autogenerated keys. |
private int |
ParallelDB.executeWriteStoredProcedureOnBackend(StoredProcedure proc,
DatabaseBackend backend)
Execute a stored procedure on the selected backend. |
void |
ParallelDB.enableBackend(DatabaseBackend db,
boolean writeEnabled)
Enables a backend that was previously disabled. |
void |
ParallelDB.disableBackend(DatabaseBackend db)
Disables a backend that was previously enabled. |
Uses of DatabaseBackend in org.objectweb.cjdbc.controller.loadbalancer.raidb0 |
Methods in org.objectweb.cjdbc.controller.loadbalancer.raidb0 with parameters of type DatabaseBackend | |
protected ControllerResultSet |
RAIDb0.executeRequestOnBackend(SelectRequest request,
DatabaseBackend backend,
MetadataCache metadataCache)
Execute a read request on the selected backend. |
void |
RAIDb0.enableBackend(DatabaseBackend db,
boolean writeEnabled)
Enables a Backend that was previously disabled. |
void |
RAIDb0.disableBackend(DatabaseBackend db)
Disables a backend that was previously enabled. |
Uses of DatabaseBackend in org.objectweb.cjdbc.controller.loadbalancer.raidb1 |
Methods in org.objectweb.cjdbc.controller.loadbalancer.raidb1 with parameters of type DatabaseBackend | |
void |
RAIDb1ec.enableBackend(DatabaseBackend db,
boolean writeEnabled)
Enables a backend that was previously disabled. |
void |
RAIDb1ec.disableBackend(DatabaseBackend db)
Disables a backend that was previously enabled. |
protected ControllerResultSet |
RAIDb1.executeRequestOnBackend(SelectRequest request,
DatabaseBackend backend,
MetadataCache metadataCache)
Execute a read request on the selected backend. |
protected ControllerResultSet |
RAIDb1.executeStoredProcedureOnBackend(StoredProcedure proc,
DatabaseBackend backend,
MetadataCache metadataCache)
Execute a stored procedure on the selected backend. |
protected void |
RAIDb1.waitForAllWritesToComplete(DatabaseBackend backend,
long transactionId)
Waits for all writes of the given transaction in the blocking thread queue of the given backend to complete before being able to complete the transaction. |
protected void |
RAIDb1.waitForAllWritesToComplete(DatabaseBackend backend)
Waits for all writes in the blocking thread queue of the given backend to complete. |
void |
RAIDb1.enableBackend(DatabaseBackend db,
boolean writeEnabled)
Enables a Backend that was previously disabled. |
void |
RAIDb1.disableBackend(DatabaseBackend db)
Disables a backend that was previously enabled. |
Uses of DatabaseBackend in org.objectweb.cjdbc.controller.loadbalancer.raidb2 |
Methods in org.objectweb.cjdbc.controller.loadbalancer.raidb2 with parameters of type DatabaseBackend | |
void |
RAIDb2ec.enableBackend(DatabaseBackend db,
boolean writeEnabled)
Enables a backend that was previously disabled. |
void |
RAIDb2ec.disableBackend(DatabaseBackend db)
Disables a backend that was previously enabled. |
protected ControllerResultSet |
RAIDb2.executeRequestOnBackend(SelectRequest request,
DatabaseBackend backend,
MetadataCache metadataCache)
Execute a read request on the selected backend. |
protected ControllerResultSet |
RAIDb2.executeStoredProcedureOnBackend(StoredProcedure proc,
DatabaseBackend backend,
MetadataCache metadataCache)
Execute a stored procedure on the selected backend. |
protected void |
RAIDb2.waitForAllWritesToComplete(DatabaseBackend backend,
long transactionId)
Waits for all writes of the given transaction in the blocking thread queue of the given backend to complete before being able to complete the transaction. |
protected void |
RAIDb2.waitForAllWritesToComplete(DatabaseBackend backend)
Waits for all writes in the blocking thread queue of the given backend to complete. |
void |
RAIDb2.enableBackend(DatabaseBackend db,
boolean writeEnabled)
Enables a Backend that was previously disabled. |
void |
RAIDb2.disableBackend(DatabaseBackend db)
Disables a backend that was previously enabled. |
Uses of DatabaseBackend in org.objectweb.cjdbc.controller.loadbalancer.singledb |
Fields in org.objectweb.cjdbc.controller.loadbalancer.singledb declared as DatabaseBackend | |
private DatabaseBackend |
SingleDB.backend
|
Methods in org.objectweb.cjdbc.controller.loadbalancer.singledb with parameters of type DatabaseBackend | |
void |
SingleDB.enableBackend(DatabaseBackend db,
boolean writeEnabled)
Enables a backend that was previously disabled. |
void |
SingleDB.disableBackend(DatabaseBackend db)
Disables a backend that was previously enabled. |
Uses of DatabaseBackend in org.objectweb.cjdbc.controller.recoverylog |
Fields in org.objectweb.cjdbc.controller.recoverylog declared as DatabaseBackend | |
private DatabaseBackend |
JDBCRecoverThread.backend
|
Constructors in org.objectweb.cjdbc.controller.recoverylog with parameters of type DatabaseBackend | |
JDBCRecoverThread(AbstractScheduler scheduler,
AbstractRecoveryLog recoveryLog,
DatabaseBackend backend,
AbstractLoadBalancer loadBalancer,
java.lang.String checkpointName)
Creates a new JDBCRecoverThread object |
Uses of DatabaseBackend in org.objectweb.cjdbc.controller.requestmanager |
Methods in org.objectweb.cjdbc.controller.requestmanager with parameters of type DatabaseBackend | |
void |
RequestManager.enableBackend(DatabaseBackend db)
Enable a backend that has been previously added to this virtual database and that is in the disabled state. |
void |
RequestManager.enableBackendFromCheckpoint(DatabaseBackend db,
java.lang.String checkpointName,
boolean threaded)
The backend must have been previously added to this virtual database and be in the disabled state. |
void |
RequestManager.disableBackend(DatabaseBackend db)
Disable a backend that is currently enabled on this virtual database. |
void |
RequestManager.disableBackendForCheckpoint(DatabaseBackend db,
java.lang.String checkpointName)
The backend must belong to this virtual database and be in the enabled state. |
void |
RequestManager.callBackupManager(boolean backup,
DatabaseBackend db,
java.lang.String checkpoint,
java.util.ArrayList tables,
boolean enableAfter,
BackupListener listener)
Call the backup manager on the given backend. |
void |
RequestManager.backupBackendWithCheckpoint(DatabaseBackend db,
java.lang.String checkpointName,
java.util.ArrayList tables,
boolean enableAfter,
boolean wait4Result,
BackupListener listener)
Creates a new backup with the corresponding checkpoint Note that this will disable the backend for the time of the backup |
void |
RequestManager.restoreBackendFromBackupCheckpoint(DatabaseBackend db,
java.lang.String checkpointName,
boolean wait4Result,
BackupListener listener)
Recopy all the data of a previous dump recorded by octopus into the named backend. |
Uses of DatabaseBackend in org.objectweb.cjdbc.controller.requestmanager.distributed |
Methods in org.objectweb.cjdbc.controller.requestmanager.distributed with parameters of type DatabaseBackend | |
void |
DistributedRequestManager.enableBackend(DatabaseBackend db)
Enable a backend that has been previously added to this virtual database and that is in the disabled state. |
Uses of DatabaseBackend in org.objectweb.cjdbc.controller.virtualdatabase |
Methods in org.objectweb.cjdbc.controller.virtualdatabase that return DatabaseBackend | |
DatabaseBackend |
VirtualDatabase.getAndCheckBackend(java.lang.String backendName,
int testEnable)
Find the DatabaseBackend corresponding to the given backend name and check if it is possible to disable this backend. |
Methods in org.objectweb.cjdbc.controller.virtualdatabase with parameters of type DatabaseBackend | |
void |
DistributedVirtualDatabase.addBackend(DatabaseBackend db)
|
BackendInfo |
DistributedVirtualDatabase.createBackendInfo(DatabaseBackend backend,
boolean useXml)
Create backend information object from a DatabaseBackend object This will get only static information |
void |
VirtualDatabase.addBackend(DatabaseBackend db)
Add a backend to this virtual database. |
void |
VirtualDatabase.addBackend(DatabaseBackend db,
boolean checkForCompliance)
Add a backend to this virtual database. |
void |
VirtualDatabase.removeBackend(DatabaseBackend db)
Remove a backend from this virtual database. |
Uses of DatabaseBackend in org.objectweb.cjdbc.controller.virtualdatabase.protocol |
Methods in org.objectweb.cjdbc.controller.virtualdatabase.protocol that return DatabaseBackend | |
DatabaseBackend |
DisableBackend.getDatabaseBackend()
Get the backend that needs to be disabled. |
DatabaseBackend |
EnableBackend.getDatabaseBackend()
Get the backend that needs to be enabled. |
Uses of DatabaseBackend in org.objectweb.cjdbc.controller.xml |
Fields in org.objectweb.cjdbc.controller.xml declared as DatabaseBackend | |
private DatabaseBackend |
DatabasesParser.currentBackend
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |