| org.continuent.sequoia.controller.loadbalancer.raidb1.RAIDb1 org.continuent.sequoia.controller.loadbalancer.raidb1.RAIDb1ec org.continuent.sequoia.controller.loadbalancer.raidb1.RAIDb1ec_RR
RAIDb1ec_RR | public class RAIDb1ec_RR extends RAIDb1ec (Code) | | RAIDb-1 Round Robin load balancer with error checking.
This load balancer tolerates byzantine failures of databases. The read
requests coming from the Request Manager are sent to multiple backend nodes
and the results are compared. Write requests are broadcasted to all backends.
author: Emmanuel Cecchet author: Julie Marguerite version: 1.0 |
RAIDb1ec_RR | public RAIDb1ec_RR(VirtualDatabase vdb, WaitForCompletionPolicy waitForCompletionPolicy, ErrorCheckingPolicy errorCheckingPolicy, int nbOfConcurrentReads) throws Exception(Code) | | Creates a new RAIDb-1 Round Robin with error checking request load
balancer.
Parameters: vdb - the virtual database this load balancer belongs to. Parameters: waitForCompletionPolicy - how many backends must complete beforereturning the result? Parameters: errorCheckingPolicy - policy to apply for error checking. Parameters: nbOfConcurrentReads - Number of concurrent reads allowed exception: Exception - if an error occurs |
getInformation | public String getInformation()(Code) | | Gets information about the request load balancer.
String containing information |
Methods inherited from org.continuent.sequoia.controller.loadbalancer.raidb1.RAIDb1ec | public String getXmlImpl()(Code)(Java Doc)
|
Methods inherited from org.continuent.sequoia.controller.loadbalancer.raidb1.RAIDb1 | public void abort(TransactionMetaData tm) throws SQLException(Code)(Java Doc) final public void begin(TransactionMetaData tm) throws SQLException(Code)(Java Doc) public ExecuteResult callableStatementExecute(StoredProcedure proc, MetadataCache metadataCache) throws SQLException, AllBackendsFailedException(Code)(Java Doc) public ControllerResultSet callableStatementExecuteQuery(StoredProcedure proc, MetadataCache metadataCache) throws SQLException, AllBackendsFailedException(Code)(Java Doc) public ExecuteUpdateResult callableStatementExecuteUpdate(StoredProcedure proc) throws SQLException, AllBackendsFailedException(Code)(Java Doc) public void closePersistentConnection(String login, long persistentConnectionId) throws SQLException(Code)(Java Doc) public void commit(TransactionMetaData tm) throws SQLException(Code)(Java Doc) public void disableBackend(DatabaseBackend db, boolean forceDisable) throws SQLException(Code)(Java Doc) public synchronized void enableBackend(DatabaseBackend db, boolean writeEnabled) throws SQLException(Code)(Java Doc) abstract public ControllerResultSet execSingleBackendReadRequest(SelectRequest request, MetadataCache metadataCache) throws SQLException(Code)(Java Doc) protected ControllerResultSet executeRequestOnBackend(SelectRequest request, DatabaseBackend backend, MetadataCache metadataCache) throws SQLException, UnreachableBackendException(Code)(Java Doc) protected Object executeStoredProcedureOnBackend(StoredProcedure proc, boolean isExecuteQuery, DatabaseBackend backend, MetadataCache metadataCache) throws SQLException, UnreachableBackendException(Code)(Java Doc) public ControllerResultSet getPreparedStatementGetMetaData(AbstractRequest request) throws SQLException(Code)(Java Doc) abstract public String getRaidb1Xml()(Code)(Java Doc) public String getXmlImpl()(Code)(Java Doc) public void openPersistentConnection(String login, long persistentConnectionId) throws SQLException(Code)(Java Doc) public void releaseSavepoint(TransactionMetaData tm, String savepointName) throws SQLException(Code)(Java Doc) public void rollback(TransactionMetaData tm) throws SQLException(Code)(Java Doc) public void rollbackToSavepoint(TransactionMetaData tm, String savepointName) throws SQLException(Code)(Java Doc) public void setSavepoint(TransactionMetaData tm, String savepointName) throws SQLException(Code)(Java Doc) public ExecuteResult statementExecute(AbstractRequest request, MetadataCache metadataCache) throws SQLException, AllBackendsFailedException(Code)(Java Doc) public ControllerResultSet statementExecuteQuery(SelectRequest request, MetadataCache metadataCache) throws SQLException, AllBackendsFailedException(Code)(Java Doc) public ExecuteUpdateResult statementExecuteUpdate(AbstractWriteRequest request) throws AllBackendsFailedException, NoMoreBackendException, SQLException(Code)(Java Doc) public GeneratedKeysResult statementExecuteUpdateWithKeys(AbstractWriteRequest request, MetadataCache metadataCache) throws AllBackendsFailedException, NoMoreBackendException, SQLException(Code)(Java Doc)
|
|
|