|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DatabaseBackend | |
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.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.requestmanager | Request Manager core including the request parsing cache. |
org.objectweb.cjdbc.controller.virtualdatabase | Virtual database core code including connection handling. |
org.objectweb.cjdbc.controller.xml | XML configuration file parsing and handling. |
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 | |
abstract void |
AbstractLoadBalancer.enableBackend(DatabaseBackend db)
Enable a backend without further check. |
abstract void |
AbstractLoadBalancer.disableBackend(DatabaseBackend db)
Disable a backend without further check. |
Constructors in org.objectweb.cjdbc.controller.loadbalancer with parameters of type DatabaseBackend | |
BackendWorkerThread(DatabaseBackend backend,
AbstractLoadBalancer loadBalancer)
Creates a new BackendWorkerThread . |
Uses of DatabaseBackend in org.objectweb.cjdbc.controller.loadbalancer.raidb0 |
Methods in org.objectweb.cjdbc.controller.loadbalancer.raidb0 with parameters of type DatabaseBackend | |
private void |
RAIDb0.updateSchema(DatabaseBackend b,
AbstractWriteRequest request)
Update the backend schema if needed |
void |
RAIDb0.enableBackend(DatabaseBackend db)
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)
Enables a backend that was previously disabled. |
void |
RAIDb1ec.disableBackend(DatabaseBackend db)
Disables a backend that was previously enabled. |
protected java.sql.ResultSet |
RAIDb1.executeRequest(SelectRequest request,
DatabaseBackend backend)
Execute a read request on the selected backend. |
protected void |
RAIDb1.waitForAllWritesToComplete(DatabaseBackend backend,
int 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)
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 | |
protected java.sql.ResultSet |
RAIDb2.executeRequest(SelectRequest request,
DatabaseBackend backend)
Execute a read request on the selected backend. |
protected void |
RAIDb2.waitForAllWritesToComplete(DatabaseBackend backend,
int 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)
Enables a Backend that was previously disabled. |
void |
RAIDb2.disableBackend(DatabaseBackend db)
Disables a backend that was previously enabled. |
void |
RAIDb2ec.enableBackend(DatabaseBackend db)
Enables a backend that was previously disabled. |
void |
RAIDb2ec.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)
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.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)
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. |
Uses of DatabaseBackend in org.objectweb.cjdbc.controller.virtualdatabase |
Methods in org.objectweb.cjdbc.controller.virtualdatabase that return DatabaseBackend | |
private DatabaseBackend |
VirtualDatabase.getAndCheckBackendForEnable(java.lang.String backendName)
Find the DatabaseBackend corresponding to the given backend name and check if it is possible to enable this backend. |
private DatabaseBackend |
VirtualDatabase.getAndCheckBackendForDisable(java.lang.String backendName)
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 |
VirtualDatabase.addBackend(DatabaseBackend db)
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.xml |
Fields in org.objectweb.cjdbc.controller.xml declared as DatabaseBackend | |
private DatabaseBackend |
DatabasesHandler.currentBackend
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |