Uses of Class
org.objectweb.cjdbc.controller.cache.metadata.MetadataCache

Packages that use MetadataCache
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.loadbalancer.tasks BackendWorkerThread tasks for distributed query execution. 
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 files parsing 
 

Uses of MetadataCache in org.objectweb.cjdbc.controller.loadbalancer
 

Methods in org.objectweb.cjdbc.controller.loadbalancer with parameters of type MetadataCache
abstract  ControllerResultSet AbstractLoadBalancer.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Perform a read request.
abstract  ControllerResultSet AbstractLoadBalancer.execWriteRequestWithKeys(AbstractWriteRequest request, MetadataCache metadataCache)
          Perform a write request and return a ResultSet containing the auto generated keys.
abstract  ControllerResultSet AbstractLoadBalancer.execReadOnlyReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
          Call a read-only stored procedure that returns a ResultSet.
abstract  ControllerResultSet AbstractLoadBalancer.execReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
          Call a stored procedure that returns a ResultSet.
static ControllerResultSet AbstractLoadBalancer.executeSelectRequestOnBackend(SelectRequest request, DatabaseBackend backend, java.sql.Connection c, MetadataCache metadataCache)
          Execute a 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.
 

Uses of MetadataCache in org.objectweb.cjdbc.controller.loadbalancer.paralleldb
 

Methods in org.objectweb.cjdbc.controller.loadbalancer.paralleldb with parameters of type MetadataCache
 ControllerResultSet ParallelDB.execReadRequest(SelectRequest request, MetadataCache metadataCache)
           
 ControllerResultSet ParallelDB.execReadOnlyReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
           
 ControllerResultSet ParallelDB.execReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
           
 ControllerResultSet ParallelDB.execWriteRequestWithKeys(AbstractWriteRequest request, MetadataCache metadataCache)
           
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  ControllerResultSet ParallelDB.executeWriteRequestWithKeysOnBackend(AbstractWriteRequest request, DatabaseBackend backend, MetadataCache metadataCache)
          Execute a write request on the selected backend and return the autogenerated keys.
 

Uses of MetadataCache in org.objectweb.cjdbc.controller.loadbalancer.raidb0
 

Methods in org.objectweb.cjdbc.controller.loadbalancer.raidb0 with parameters of type MetadataCache
 ControllerResultSet RAIDb0.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Performs a read request on the backend that has the needed tables to executes the request.
 ControllerResultSet RAIDb0.execWriteRequestWithKeys(AbstractWriteRequest request, MetadataCache metadataCache)
           
protected  ControllerResultSet RAIDb0.executeRequestOnBackend(SelectRequest request, DatabaseBackend backend, MetadataCache metadataCache)
          Execute a read request on the selected backend.
 ControllerResultSet RAIDb0.execReadOnlyReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
           
 ControllerResultSet RAIDb0.execReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
           
 

Uses of MetadataCache in org.objectweb.cjdbc.controller.loadbalancer.raidb1
 

Methods in org.objectweb.cjdbc.controller.loadbalancer.raidb1 with parameters of type MetadataCache
 ControllerResultSet RAIDb1_WRR.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Selects the backend using a weighted round-robin algorithm and executes the read request.
 ControllerResultSet RAIDb1_WRR.execReadOnlyReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
          Selects the backend using a least pending request first policy.
private  ControllerResultSet RAIDb1_WRR.executeWRR(AbstractRequest request, boolean isSelect, java.lang.String errorMsgPrefix, MetadataCache metadataCache)
          Common code to execute a SelectRequest or a StoredProcedure on a backend chosen using a weighted round-robin algorithm.
 ControllerResultSet RAIDb1ec_WRR.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Not implemented.
 ControllerResultSet RAIDb1ec_WRR.execReadOnlyReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
          Not implemented.
 ControllerResultSet RAIDb1_LPRF.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Selects the backend using a least pending request first policy.
 ControllerResultSet RAIDb1_LPRF.execReadOnlyReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
          Selects the backend using a least pending request first policy.
private  ControllerResultSet RAIDb1_LPRF.executeLPRF(AbstractRequest request, boolean isSelect, java.lang.String errorMsgPrefix, MetadataCache metadataCache)
          Common code to execute a SelectRequest or a StoredProcedure on a backend chosen using a LPRF algorithm.
 ControllerResultSet RAIDb1_RR.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Selects the backend using a simple round-robin algorithm and executes the read request.
 ControllerResultSet RAIDb1_RR.execReadOnlyReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
          Selects the backend using a simple round-robin algorithm and executes the read request.
private  ControllerResultSet RAIDb1_RR.executeRoundRobinRequest(AbstractRequest request, boolean isSelect, java.lang.String errorMsgPrefix, MetadataCache metadataCache)
          Common code to execute a SelectRequest or a StoredProcedure on a backend chosen using a round-robin algorithm.
abstract  ControllerResultSet RAIDb1.execReadRequest(SelectRequest request, MetadataCache metadataCache)
           
protected  ControllerResultSet RAIDb1.executeRequestOnBackend(SelectRequest request, DatabaseBackend backend, MetadataCache metadataCache)
          Execute a read request on the selected backend.
 ControllerResultSet RAIDb1.execWriteRequestWithKeys(AbstractWriteRequest request, MetadataCache metadataCache)
          Perform a write request and return the auto generated keys.
private  AbstractTask RAIDb1.execWriteRequest(AbstractWriteRequest request, boolean useKeys, MetadataCache metadataCache)
          Common code for execWriteRequest(AbstractWriteRequest) and execWriteRequestWithKeys(AbstractWriteRequest).
protected  ControllerResultSet RAIDb1.executeStoredProcedureOnBackend(StoredProcedure proc, DatabaseBackend backend, MetadataCache metadataCache)
          Execute a stored procedure on the selected backend.
 ControllerResultSet RAIDb1.execReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
           
private  AbstractTask RAIDb1.callStoredProcedure(StoredProcedure proc, boolean isRead, MetadataCache metadataCache)
          Post the stored procedure call in the threads task list.
 ControllerResultSet RAIDb1ec_RR.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Not implemented.
 ControllerResultSet RAIDb1ec_RR.execReadOnlyReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
          Not implemented.
 

Uses of MetadataCache in org.objectweb.cjdbc.controller.loadbalancer.raidb2
 

Methods in org.objectweb.cjdbc.controller.loadbalancer.raidb2 with parameters of type MetadataCache
 ControllerResultSet RAIDb2_RR.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Chooses the node to execute the request using a round-robin algorithm.
 ControllerResultSet RAIDb2_RR.execReadOnlyReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
          Chooses the node to execute the stored procedure using a round-robin algorithm.
 ControllerResultSet RAIDb2.execWriteRequestWithKeys(AbstractWriteRequest request, MetadataCache metadataCache)
          Perform a write request and return the auto generated keys.
private  AbstractTask RAIDb2.execWriteRequest(AbstractWriteRequest request, boolean useKeys, MetadataCache metadataCache)
          Common code for execWriteRequest(AbstractWriteRequest) and execWriteRequestWithKeys(AbstractWriteRequest).
abstract  ControllerResultSet RAIDb2.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Implementation specific load balanced read execution.
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.
 ControllerResultSet RAIDb2.execReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
           
private  AbstractTask RAIDb2.callStoredProcedure(StoredProcedure proc, boolean isRead, MetadataCache metadataCache)
          Post the stored procedure call in the threads task list.
 ControllerResultSet RAIDb2_LPRF.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Chooses the node to execute the request using a round-robin algorithm.
 ControllerResultSet RAIDb2_LPRF.execReadOnlyReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
          Chooses the node to execute the stored procedure using a LPRF algorithm.
 ControllerResultSet RAIDb2ec_RR.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Performs a read request.
 ControllerResultSet RAIDb2ec_RR.execReadOnlyReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
          Not implemented.
 ControllerResultSet RAIDb2ec_WRR.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Performs a read request.
 ControllerResultSet RAIDb2ec_WRR.execReadOnlyReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
          Not implemented.
 ControllerResultSet RAIDb2_WRR.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Performs a read request.
 ControllerResultSet RAIDb2_WRR.execReadOnlyReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
          Chooses the node to execute the stored procedure using a round-robin algorithm.
 

Uses of MetadataCache in org.objectweb.cjdbc.controller.loadbalancer.singledb
 

Methods in org.objectweb.cjdbc.controller.loadbalancer.singledb with parameters of type MetadataCache
 ControllerResultSet SingleDB.execReadRequest(SelectRequest request, MetadataCache metadataCache)
          Performs a read request.
 ControllerResultSet SingleDB.execWriteRequestWithKeys(AbstractWriteRequest request, MetadataCache metadataCache)
           
 ControllerResultSet SingleDB.execReadOnlyReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
           
 ControllerResultSet SingleDB.execReadStoredProcedure(StoredProcedure proc, MetadataCache metadataCache)
           
 

Uses of MetadataCache in org.objectweb.cjdbc.controller.loadbalancer.tasks
 

Fields in org.objectweb.cjdbc.controller.loadbalancer.tasks declared as MetadataCache
private  MetadataCache ReadStoredProcedureTask.metadataCache
           
private  MetadataCache WriteRequestWithKeysTask.metadataCache
           
 

Constructors in org.objectweb.cjdbc.controller.loadbalancer.tasks with parameters of type MetadataCache
ReadStoredProcedureTask(int nbToComplete, int totalNb, StoredProcedure proc, MetadataCache metadataCache)
          Creates a new ReadStoredProcedureTask.
WriteRequestWithKeysTask(int nbToComplete, int totalNb, AbstractWriteRequest request, MetadataCache metadataCache)
          Creates a new WriteRequestTask.
 

Uses of MetadataCache in org.objectweb.cjdbc.controller.requestmanager
 

Fields in org.objectweb.cjdbc.controller.requestmanager declared as MetadataCache
private  MetadataCache RequestManager.metadataCache
           
 

Methods in org.objectweb.cjdbc.controller.requestmanager that return MetadataCache
 MetadataCache RequestManager.getMetadataCache()
          Returns the metadataCache value.
 

Methods in org.objectweb.cjdbc.controller.requestmanager with parameters of type MetadataCache
 void RequestManager.setMetadataCache(MetadataCache metadataCache)
          Sets the metadataCache value.
 

Uses of MetadataCache in org.objectweb.cjdbc.controller.virtualdatabase
 

Constructors in org.objectweb.cjdbc.controller.virtualdatabase with parameters of type MetadataCache
ControllerResultSet(AbstractRequest request, java.sql.ResultSet rs, MetadataCache metadataCache, java.sql.Statement s)
          Build a C-JDBC ResultSet from a database specific ResultSet.
 

Uses of MetadataCache in org.objectweb.cjdbc.controller.xml
 

Fields in org.objectweb.cjdbc.controller.xml declared as MetadataCache
private  MetadataCache DatabasesParser.currentMetadataCache
           
 



Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.