|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.cjdbc.controller.requestmanager.RequestManager
org.objectweb.cjdbc.controller.requestmanager.DistributedRequestManager
This class defines a Distributed Request Manager.
The RM is composed of a Request Scheduler, an optional Query Cache, and a Load Balancer and an optional Recovery Log. Unlike a non-dsitributed Request Manager, this implementation is responsible for synchronizing the different controllers components (schedulers, ...).
Field Summary |
Fields inherited from class org.objectweb.cjdbc.controller.requestmanager.RequestManager |
loadBalancer, recoveryLog, requestCache, scheduler |
Constructor Summary | |
DistributedRequestManager(DistributedVirtualDatabase vdb,
AbstractScheduler scheduler,
AbstractLoadBalancer loadBalancer,
AbstractRecoveryLog recoveryLog,
long beginTimeout,
long commitTimeout,
long rollbackTimeout)
Creates a new DistributedRequestManager instance
without cache. |
|
DistributedRequestManager(DistributedVirtualDatabase vdb,
AbstractScheduler scheduler,
AbstractLoadBalancer loadBalancer,
long beginTimeout,
long commitTimeout,
long rollbackTimeout)
Creates a new DistributedRequestManager instance
without cache. |
|
DistributedRequestManager(DistributedVirtualDatabase vdb,
AbstractScheduler scheduler,
AbstractRequestCache cache,
AbstractLoadBalancer loadBalancer,
AbstractRecoveryLog recoveryLog,
long beginTimeout,
long commitTimeout,
long rollbackTimeout)
Creates a new DistributedRequestManager instance
without cache. |
|
DistributedRequestManager(DistributedVirtualDatabase vdb,
AbstractScheduler scheduler,
AbstractRequestCache cache,
AbstractLoadBalancer loadBalancer,
long beginTimeout,
long commitTimeout,
long rollbackTimeout)
Creates a new DistributedRequestManager instance
without cache. |
Methods inherited from class org.objectweb.cjdbc.controller.requestmanager.RequestManager |
begin, commit, disableBackend, disableBackendForCheckpoint, enableBackend, enableBackendFromCheckpoint, execReadRequest, execReadStoredProcedure, execWriteRequest, execWriteRequestWithKeys, execWriteStoredProcedure, getDatabaseSchema, getInformation, getLoadBalancer, getRecoveryLog, getRequestCache, getRequiredParsingGranularity, getScheduler, getXmlInformation, mergeDatabaseSchema, rollback, setBackgroundParsing, setCaseSensitiveParsing, setDatabaseSchema, setLoadBalancer, setRecoveryLog, setRequestCache, setScheduler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DistributedRequestManager(DistributedVirtualDatabase vdb, AbstractScheduler scheduler, AbstractLoadBalancer loadBalancer, long beginTimeout, long commitTimeout, long rollbackTimeout) throws java.sql.SQLException
DistributedRequestManager
instance
without cache.
vdb
- the virtual database this request manager belongs toscheduler
- the Request Scheduler to useloadBalancer
- the Request Load Balancer to usebeginTimeout
- timeout in seconds for begincommitTimeout
- timeout in seconds for commitrollbackTimeout
- timeout in seconds for rollback
java.sql.SQLException
- if an error occurspublic DistributedRequestManager(DistributedVirtualDatabase vdb, AbstractScheduler scheduler, AbstractRequestCache cache, AbstractLoadBalancer loadBalancer, long beginTimeout, long commitTimeout, long rollbackTimeout) throws java.sql.SQLException
DistributedRequestManager
instance
without cache.
vdb
- the virtual database this request manager belongs toscheduler
- the Request Scheduler to usecache
- a Query Cache implementationloadBalancer
- the Request Load Balancer to usebeginTimeout
- timeout in seconds for begincommitTimeout
- timeout in seconds for commitrollbackTimeout
- timeout in seconds for rollback
java.sql.SQLException
- if an error occurspublic DistributedRequestManager(DistributedVirtualDatabase vdb, AbstractScheduler scheduler, AbstractLoadBalancer loadBalancer, AbstractRecoveryLog recoveryLog, long beginTimeout, long commitTimeout, long rollbackTimeout) throws java.sql.SQLException
DistributedRequestManager
instance
without cache.
vdb
- the virtual database this request manager belongs toscheduler
- the Request Scheduler to useloadBalancer
- the Request Load Balancer to userecoveryLog
- the Log Recovery to usebeginTimeout
- timeout in seconds for begincommitTimeout
- timeout in seconds for commitrollbackTimeout
- timeout in seconds for rollback
java.sql.SQLException
- if an error occurspublic DistributedRequestManager(DistributedVirtualDatabase vdb, AbstractScheduler scheduler, AbstractRequestCache cache, AbstractLoadBalancer loadBalancer, AbstractRecoveryLog recoveryLog, long beginTimeout, long commitTimeout, long rollbackTimeout) throws java.sql.SQLException
DistributedRequestManager
instance
without cache.
vdb
- the virtual database this request manager belongs toscheduler
- the Request Scheduler to usecache
- a Query Cache implementationloadBalancer
- the Request Load Balancer to userecoveryLog
- the Log Recovery to usebeginTimeout
- timeout in seconds for begincommitTimeout
- timeout in seconds for commitrollbackTimeout
- timeout in seconds for rollback
java.sql.SQLException
- if an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |