|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.management.StandardMBean
org.objectweb.cjdbc.controller.jmx.AbstractStandardMBean
org.objectweb.cjdbc.controller.requestmanager.RequestManager
This class defines the Request Manager.
The RM is composed of a Request Scheduler, an optional Query Cache, and a Load Balancer and an optional Recovery Log.
| Nested Class Summary |
| Nested classes inherited from class javax.management.StandardMBean |
|
| Field Summary | |
private BackendStateListener |
backendStateListener
|
protected BackupManager |
backupManager
The backup manager responsible for backup and restore of backends |
protected long |
beginTimeout
begin timeout in ms |
private int |
cacheParsingranularity
|
protected long |
commitTimeout
commit timeout in ms |
protected DatabaseSchema |
dbs
|
private boolean |
isCaseSensitiveParsing
|
protected AbstractLoadBalancer |
loadBalancer
The request load balancer to use to send requests to the databases |
private int |
loadBalancerParsingranularity
|
protected static Trace |
logger
|
private MetadataCache |
metadataCache
|
protected ParsingCache |
parsingCache
|
protected RecoveryLog |
recoveryLog
An optional recovery log |
protected int |
requiredParsingGranularity
|
protected AbstractResultCache |
resultCache
An optional request cache to cache responses to SQL requests |
protected long |
rollbackTimeout
rollback timeout in ms |
protected AbstractScheduler |
scheduler
The request scheduler to order and schedule requests |
protected int |
schedulerParsingranularity
|
private boolean |
schemaIsDirty
true if schema is no more up-to-date and needs a refresh |
private boolean |
schemaIsStatic
|
protected java.util.Hashtable |
tidLoginTable
Transaction id/Login mapping |
protected java.util.Hashtable |
tidSavepoints
Transaction id/Savepoints mapping |
protected VirtualDatabase |
vdb
The virtual database owning this Request Manager |
| Fields inherited from class org.objectweb.cjdbc.controller.jmx.AbstractStandardMBean |
|
| Fields inherited from class javax.management.StandardMBean |
|
| Fields inherited from interface org.objectweb.cjdbc.common.xml.XmlComponent |
DOCTYPE_CONTROLLER, DOCTYPE_DB, XML_VERSION |
| Constructor Summary | |
RequestManager(VirtualDatabase vdb,
AbstractScheduler scheduler,
AbstractResultCache cache,
AbstractLoadBalancer loadBalancer,
RecoveryLog recoveryLog,
long beginTimeout,
long commitTimeout,
long rollbackTimeout)
Creates a new RequestManager instance. |
|
| Method Summary | |
void |
abort(long transactionId,
boolean logAbort)
Abort a transaction that has been started but in which no query was executed. |
void |
addSavepoint(java.lang.Long tid,
java.lang.String savepointName)
Adds a given savepoint to a given transaction |
private void |
assignAndCheckSchedulerLoadBalancerValidity(AbstractScheduler scheduler,
AbstractLoadBalancer loadBalancer)
Check that Scheduler and Load Balancer are not null and have compatible RAIDb levels. |
void |
backupBackend(DatabaseBackend backend,
java.lang.String login,
java.lang.String password,
java.lang.String dumpName,
java.lang.String backuperName,
java.lang.String path,
java.util.ArrayList tables)
Create a backup from the content of a backend. |
long |
begin(java.lang.String login)
Begin a new transaction and return the corresponding transaction identifier. |
void |
commit(long transactionId,
boolean logCommit)
Commit a transaction given its id. |
void |
completeTransaction(java.lang.Long tid)
Complete the transaction by removing it from the tidLoginTable. |
void |
disableBackend(DatabaseBackend db)
Disable a backend that is currently enabled on this virtual database. |
void |
disableBackendForCheckpoint(DatabaseBackend db,
java.lang.String checkpointName)
The backend must belong to this virtual database and be in the enabled state. |
void |
disableBackendsForCheckpoint(java.util.ArrayList backendsArrayList,
java.lang.String checkpointName)
Disable a list of backends. |
void |
enableBackend(DatabaseBackend db)
Enable a backend that has been previously added to this virtual database and that is in the disabled state. |
RecoverThread |
enableBackendFromCheckpoint(DatabaseBackend db,
java.lang.String checkpointName)
The backend must have been previously added to this virtual database and be in the disabled state. |
ControllerResultSet |
execReadRequest(SelectRequest request)
Perform a read request and return the reply. |
ControllerResultSet |
execReadStoredProcedure(StoredProcedure proc)
Call a stored procedure that returns a ResultSet. |
int |
execWriteRequest(AbstractWriteRequest request)
Perform a write request and return the number of rows affected Call first the scheduler (if defined), then notify the cache (if defined) and finally call the load balancer. |
ControllerResultSet |
execWriteRequestWithKeys(AbstractWriteRequest request)
Perform a write request and return the auto generated keys. |
int |
execWriteStoredProcedure(StoredProcedure proc)
Call a stored procedure that performs an update. |
void |
flushCacheAndLogStoredProcedure(StoredProcedure proc,
boolean isRead)
Flush the cache and log the stored procedure execution in the recovery log. |
java.lang.String |
getAssociatedString()
Allow to retrieve internationalization description on mbeans as well |
BackendStateListener |
getBackendStateListener()
Returns the backendStateListener value. |
BackupManager |
getBackupManager()
Returns the backupManager value. |
long |
getBeginTimeout()
Returns the beginTimeout value. |
int |
getCacheParsingranularity()
Returns the cacheParsingranularity value. |
long |
getCommitTimeout()
Returns the commitTimeout value. |
DatabaseSchema |
getDatabaseSchema()
Get the DatabaseSchema used by this Request Manager. |
AbstractLoadBalancer |
getLoadBalancer()
Get the Request Load Balancer used in this Request Controller. |
int |
getLoadBalancerParsingranularity()
Returns the loadBalancerParsingranularity value. |
MetadataCache |
getMetadataCache()
Returns the metadataCache value. |
RecoveryLog |
getRecoveryLog()
Returns the Recovery Log Manager. |
int |
getRequiredParsingGranularity()
Returns the requiredParsingGranularity value. |
AbstractResultCache |
getResultCache()
Get the result cache (if any) used in this Request Manager. |
long |
getRollbackTimeout()
Returns the rollbackTimeout value. |
AbstractScheduler |
getScheduler()
Get the Request Scheduler (if any) used in this Request Controller. |
int |
getSchedulerParsingranularity()
Returns the schedulerParsingranularity value. |
TransactionMarkerMetaData |
getTransactionMarker(java.lang.Long tid)
Get the TransactionMarkerMetaData for the given transaction id. |
VirtualDatabase |
getVirtualDatabase()
Returns the vdb value. |
java.lang.String |
getXml()
Get xml information about this Request Manager |
boolean |
hasSavepoint(java.lang.Long tid,
java.lang.String savepointName)
Check if a given savepoint has been set for a given transaction |
private void |
initRequestManagerVariables(VirtualDatabase vdb,
long beginTimeout,
long commitTimeout,
long rollbackTimeout)
Method initRequestManagerVariables. |
boolean |
isCaseSensitiveParsing()
Returns the isCaseSensitiveParsing value. |
boolean |
isSchemaIsStatic()
Returns the schemaIsStatic value. |
int |
loadBalanceExecWriteRequest(AbstractWriteRequest request)
Send the given query to the load balancer. |
ControllerResultSet |
loadBalanceExecWriteRequestWithKeys(AbstractWriteRequest request)
Send the given query to the load balancer. |
ControllerResultSet |
loadBalanceReadStoredProcedure(StoredProcedure proc)
Execute a read stored procedure on the load balancer. |
int |
loadBalanceWriteStoredProcedure(StoredProcedure proc)
Execute a write stored procedure on the load balancer. |
void |
logLazyTransactionBegin(long transactionId)
Log the begin of a transaction that is started lazily. |
void |
mergeDatabaseSchema(DatabaseSchema backendSchema)
Merge the given schema with the existing database schema. |
void |
releaseSavepoint(long transactionId,
java.lang.String name)
Releases a savepoint given its name from a transaction given its id. |
void |
removeCheckpoint(java.lang.String checkpointName)
Remove a checkpoint and corresponding entries from the log table |
void |
removeSavepoint(java.lang.Long tid,
java.lang.String savepointName)
Removes a given savepoint for a given transaction |
void |
removeSavepoints(java.lang.Long tid,
java.lang.String savepointName)
Removes all the savepoints set after a given savepoint for a given transaction |
void |
restoreBackendFromBackupCheckpoint(DatabaseBackend backend,
java.lang.String login,
java.lang.String password,
java.lang.String dumpName,
java.util.ArrayList tables)
Restore a dump on a specific backend. |
void |
rollback(long transactionId,
boolean logRollback)
Rollback a transaction given its id. |
void |
rollback(long transactionId,
java.lang.String savepointName)
Rollback a transaction given its id to a savepoint given its name. |
void |
scheduleExecWriteRequest(AbstractWriteRequest request)
Schedule a request for execution. |
void |
scheduleStoredProcedure(StoredProcedure proc)
This method does some sanity check on the given stored procedure and then tries to schedule it. |
private void |
setBackendsLastKnownCheckpointFromRecoveryLog()
Retrieve the last known checkpoint from the recovery log and set it for each backend. |
void |
setBackupManager(BackupManager currentBackupManager)
Sets the backup manager for this recovery log |
void |
setBeginTimeout(long beginTimeout)
Sets the beginTimeout value. |
void |
setCacheParsingranularity(int cacheParsingranularity)
Sets the cacheParsingranularity value. |
void |
setCaseSensitiveParsing(boolean isCaseSensitiveParsing)
Sets the parsing case sensitivity. |
void |
setCommitTimeout(long commitTimeout)
Sets the commitTimeout value. |
void |
setDatabaseSchema(DatabaseSchema schema,
boolean isStatic)
Sets the DatabaseSchema to be able to parse the requests and
find dependencies. |
void |
setLoadBalancer(AbstractLoadBalancer loadBalancer)
Set the Request Load Balancer to use in this Request Controller. |
void |
setLoadBalancerParsingranularity(int loadBalancerParsingranularity)
Sets the loadBalancerParsingranularity value. |
void |
setMetadataCache(MetadataCache metadataCache)
Sets the metadataCache value. |
void |
setParsingCache(ParsingCache parsingCache)
Sets the ParsingCache. |
void |
setRecoveryLog(RecoveryLog recoveryLog)
Sets the Recovery Log Manager. |
void |
setRequiredParsingGranularity(int requiredGranularity)
Sets the requiredParsingGranularity value. |
void |
setResultCache(AbstractResultCache cache)
Set the Request Cache to use in this Request Controller. |
void |
setRollbackTimeout(long rollbackTimeout)
Sets the rollbackTimeout value. |
int |
setSavepoint(long transactionId)
Sets a unnamed savepoint to a transaction given its id. |
void |
setSavepoint(long transactionId,
java.lang.String name)
Sets a savepoint given its desired name to a transaction given its id. |
void |
setScheduler(AbstractScheduler scheduler)
Set the Request Scheduler to use in this Request Controller. |
void |
setSchedulerParsingranularity(int schedulerParsingranularity)
Sets the schedulerParsingranularity value. |
void |
setSchemaIsDirty(boolean schemaIsDirty)
Sets the schemaIsDirty value if the backend schema needs to be refreshed. |
void |
setSchemaIsStatic(boolean schemaIsStatic)
Sets the schemaIsStatic value. |
void |
storeBackendsInfo(java.lang.String databaseName,
java.util.ArrayList backends)
Store all the backends checkpoint in the recoverylog |
void |
updateAndNotifyExecWriteRequest(AbstractWriteRequest request)
Update the cache, notify the recovery log, update the database schema if needed and finally notify the scheduler. |
| Methods inherited from class org.objectweb.cjdbc.controller.jmx.AbstractStandardMBean |
addNotificationListener, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getNotificationInfo, getParameterName, getParameterName, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class javax.management.StandardMBean |
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, invoke, setAttribute, setAttributes, setImplementation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected long beginTimeout
protected long commitTimeout
protected long rollbackTimeout
protected VirtualDatabase vdb
protected AbstractScheduler scheduler
protected AbstractResultCache resultCache
protected AbstractLoadBalancer loadBalancer
protected RecoveryLog recoveryLog
protected BackupManager backupManager
protected DatabaseSchema dbs
private boolean schemaIsDirty
true if schema is no more up-to-date and needs a refresh
private boolean schemaIsStatic
private boolean isCaseSensitiveParsing
protected ParsingCache parsingCache
private MetadataCache metadataCache
protected int schedulerParsingranularity
private int cacheParsingranularity
private int loadBalancerParsingranularity
protected int requiredParsingGranularity
protected java.util.Hashtable tidLoginTable
protected java.util.Hashtable tidSavepoints
protected static Trace logger
private BackendStateListener backendStateListener
| Constructor Detail |
public RequestManager(VirtualDatabase vdb,
AbstractScheduler scheduler,
AbstractResultCache cache,
AbstractLoadBalancer loadBalancer,
RecoveryLog recoveryLog,
long beginTimeout,
long commitTimeout,
long rollbackTimeout)
throws java.sql.SQLException,
javax.management.NotCompliantMBeanException
RequestManager instance.
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
javax.management.NotCompliantMBeanException - if the MBean is not JMX compliant| Method Detail |
private void setBackendsLastKnownCheckpointFromRecoveryLog()
private void assignAndCheckSchedulerLoadBalancerValidity(AbstractScheduler scheduler,
AbstractLoadBalancer loadBalancer)
throws java.sql.SQLException
scheduler - loadBalancer -
java.sql.SQLException - if an error occurs
private void initRequestManagerVariables(VirtualDatabase vdb,
long beginTimeout,
long commitTimeout,
long rollbackTimeout)
vdb - beginTimeout - commitTimeout - rollbackTimeout -
public ControllerResultSet execReadRequest(SelectRequest request)
throws java.sql.SQLException
request - the request to execute
ControllerResultSet value
java.sql.SQLException - if an error occurs
public int execWriteRequest(AbstractWriteRequest request)
throws java.sql.SQLException
request - the request to execute
java.sql.SQLException - if an error occurs
public ControllerResultSet execWriteRequestWithKeys(AbstractWriteRequest request)
throws java.sql.SQLException
request - the request to execute
java.sql.SQLException - if an error occurs
public void scheduleExecWriteRequest(AbstractWriteRequest request)
throws java.sql.SQLException
request - the request to execute
java.sql.SQLException - if an error occurs
public ControllerResultSet loadBalanceExecWriteRequestWithKeys(AbstractWriteRequest request)
throws AllBackendsFailedException,
java.sql.SQLException
request - the request to execute
AllBackendsFailedException - if all backends failed to execute the
query
java.sql.SQLException - if an error occurs
public int loadBalanceExecWriteRequest(AbstractWriteRequest request)
throws AllBackendsFailedException,
java.sql.SQLException
request - the request to execute
AllBackendsFailedException - if all backends failed to execute the
query
java.sql.SQLException - if an error occurs
public void updateAndNotifyExecWriteRequest(AbstractWriteRequest request)
throws java.sql.SQLException
request - the request to execute
java.sql.SQLException - if an error occurs
public ControllerResultSet execReadStoredProcedure(StoredProcedure proc)
throws AllBackendsFailedException,
java.sql.SQLException
proc - the stored procedure call
ControllerResultSet value
AllBackendsFailedException - if all backends failed to execute the
stored procedure
java.sql.SQLException - if an error occurs
public int execWriteStoredProcedure(StoredProcedure proc)
throws AllBackendsFailedException,
java.sql.SQLException
proc - the stored procedure call
AllBackendsFailedException - if all backends failed to execute the
stored procedure
java.sql.SQLException - if an error occurs
public void scheduleStoredProcedure(StoredProcedure proc)
throws java.sql.SQLException
proc - the stored procedure to schedule
java.sql.SQLException - if an error occurs
public ControllerResultSet loadBalanceReadStoredProcedure(StoredProcedure proc)
throws java.sql.SQLException,
AllBackendsFailedException
proc - the stored procedure to call
java.sql.SQLException - if an error occurs
AllBackendsFailedException - if all backends failed to execute the
stored procedure
public int loadBalanceWriteStoredProcedure(StoredProcedure proc)
throws AllBackendsFailedException,
java.sql.SQLException
proc - the stored procedure to call
java.sql.SQLException - if an error occurs
AllBackendsFailedException - if all backends failed to execute the
stored procedure
public void flushCacheAndLogStoredProcedure(StoredProcedure proc,
boolean isRead)
proc - the stored procedure to logisRead - true is this is an execReadStoredProcedure, false for an
execWriteStoredProcedure
public long begin(java.lang.String login)
throws java.sql.SQLException
Note that the transaction begin is not logged in the recovery log by this method, you will have to call logLazyTransactionBegin.
login - the login used by the connection
java.sql.SQLException - if an error occurslogLazyTransactionBegin(long)
public void logLazyTransactionBegin(long transactionId)
throws java.sql.SQLException
transactionId - the transaction id begin to log
java.sql.SQLException - if an error occurs
public void abort(long transactionId,
boolean logAbort)
throws java.sql.SQLException
transactionId - id of the transaction to abortlogAbort - true if the abort (in fact rollback) should be logged in
the recovery log
java.sql.SQLException - if an error occurs
public TransactionMarkerMetaData getTransactionMarker(java.lang.Long tid)
throws java.sql.SQLException
tid - transaction id
java.sql.SQLException - if no marker has been found for this transactionpublic void completeTransaction(java.lang.Long tid)
tid - transaction id
public void commit(long transactionId,
boolean logCommit)
throws java.sql.SQLException
transactionId - the transaction idlogCommit - true if the commit should be logged in the recovery log
java.sql.SQLException - if an error occurs
public void rollback(long transactionId,
boolean logRollback)
throws java.sql.SQLException
transactionId - the transaction idlogRollback - true if the rollback should be logged in the recovery
log
java.sql.SQLException - if an error occurs
public void rollback(long transactionId,
java.lang.String savepointName)
throws java.sql.SQLException
transactionId - the transaction idsavepointName - the name of the savepoint
java.sql.SQLException - if an error occurs
public int setSavepoint(long transactionId)
throws java.sql.SQLException
transactionId - the transaction id
java.sql.SQLException - if an error occurs
public void setSavepoint(long transactionId,
java.lang.String name)
throws java.sql.SQLException
transactionId - the transaction idname - the desired name of the savepoint
java.sql.SQLException - if an error occurs
public void releaseSavepoint(long transactionId,
java.lang.String name)
throws java.sql.SQLException
transactionId - the transaction idname - the name of the savepoint
java.sql.SQLException - if an error occurs
public void addSavepoint(java.lang.Long tid,
java.lang.String savepointName)
tid - transaction idsavepointName - name of the savepoint
public void removeSavepoint(java.lang.Long tid,
java.lang.String savepointName)
tid - transaction idsavepointName - name of the savepoint
public void removeSavepoints(java.lang.Long tid,
java.lang.String savepointName)
tid - transaction idsavepointName - name of the savepoint
public boolean hasSavepoint(java.lang.Long tid,
java.lang.String savepointName)
tid - transaction idsavepointName - name of the savepoint
public void enableBackend(DatabaseBackend db)
throws java.sql.SQLException
The backend is enabled without further check.
The enableBackend method of the load balancer is called.
db - The database backend to enable
java.sql.SQLException - if an error occurs
public RecoverThread enableBackendFromCheckpoint(DatabaseBackend db,
java.lang.String checkpointName)
throws java.sql.SQLException
All the queries since the given checkpoint are played and the backend state is set to enabled when it is completely synchronized.
Note that the job is performed in background by a
RecoverThread. You can synchronize on thread termination if
you need to wait for completion of this task and listen to JMX
notifications for the success status.
db - The database backend to enablecheckpointName - The checkpoint name to restart from
java.sql.SQLException - if an error occurs
public void disableBackend(DatabaseBackend db)
throws java.sql.SQLException
The backend is disabled without further check.
The load balancer disabled method is called on the specified backend.
db - The database backend to disable
java.sql.SQLException - if an error occurs
public void disableBackendForCheckpoint(DatabaseBackend db,
java.lang.String checkpointName)
throws java.sql.SQLException
The backend is disabled once all the pending write queries are executed. A checkpoint is inserted in the recovery log.
db - The database backend to enablecheckpointName - The checkpoint name to restart from
java.sql.SQLException - if an error occurs
public void disableBackendsForCheckpoint(java.util.ArrayList backendsArrayList,
java.lang.String checkpointName)
throws java.sql.SQLException
backendsArrayList - backends to disablecheckpointName - to store
java.sql.SQLException - if an error occurs
public void backupBackend(DatabaseBackend backend,
java.lang.String login,
java.lang.String password,
java.lang.String dumpName,
java.lang.String backuperName,
java.lang.String path,
java.util.ArrayList tables)
throws java.sql.SQLException
backend - the target backend to backuplogin - the login to use to connect to the database for the backup
operationpassword - the password to use to connect to the database for the
backup operationdumpName - the name of the dump to createbackuperName - the logical name of the backuper to usepath - the path where to store the dumptables - the list of tables to backup, null means all tables
java.sql.SQLException - if the backup fails
public void restoreBackendFromBackupCheckpoint(DatabaseBackend backend,
java.lang.String login,
java.lang.String password,
java.lang.String dumpName,
java.util.ArrayList tables)
throws BackupException
This method disables the backend and leave it disabled after recovery
process. The user has to call the enableBackendFromCheckpoint
after this.
backend - the backend to restorelogin - the login to use to connect to the database for the restore
operationpassword - the password to use to connect to the database for the
restore operationdumpName - the name of the dump to restoretables - the list of tables to restore, null means all tables
BackupException - if the restore operation failed
public void storeBackendsInfo(java.lang.String databaseName,
java.util.ArrayList backends)
databaseName - the virtual database namebackends - the Arraylist of backends
public void removeCheckpoint(java.lang.String checkpointName)
throws java.sql.SQLException
checkpointName - to remove
java.sql.SQLException - if failspublic DatabaseSchema getDatabaseSchema()
DatabaseSchema used by this Request Manager.
DatabaseSchema valuepublic void mergeDatabaseSchema(DatabaseSchema backendSchema)
backendSchema - The virtual database schema to merge.
public void setDatabaseSchema(DatabaseSchema schema,
boolean isStatic)
DatabaseSchema to be able to parse the requests and
find dependencies.
schema - a DatabaseSchema valueisStatic - true if the given schema is staticpublic void setSchemaIsDirty(boolean schemaIsDirty)
schemaIsDirty - The schemaIsDirty to set.public VirtualDatabase getVirtualDatabase()
public void setBackupManager(BackupManager currentBackupManager)
currentBackupManager - an instance of BackupManagerpublic BackupManager getBackupManager()
public AbstractLoadBalancer getLoadBalancer()
AbstractLoadBalancer valuepublic void setLoadBalancer(AbstractLoadBalancer loadBalancer)
loadBalancer - a Request Load Balancer implementationpublic AbstractResultCache getResultCache()
AbstractResultCache value or null if no Reqsult
Cache has been definedpublic MetadataCache getMetadataCache()
public void setMetadataCache(MetadataCache metadataCache)
metadataCache - The metadataCache to set.public void setParsingCache(ParsingCache parsingCache)
parsingCache - The parsingCache to set.public RecoveryLog getRecoveryLog()
public void setRecoveryLog(RecoveryLog recoveryLog)
recoveryLog - The log recovery to setpublic void setResultCache(AbstractResultCache cache)
cache - a Request Cache implementationpublic AbstractScheduler getScheduler()
AbstractScheduler value or null if no Request
Scheduler has been definedpublic void setScheduler(AbstractScheduler scheduler)
scheduler - a Request Scheduler implementationpublic void setCaseSensitiveParsing(boolean isCaseSensitiveParsing)
setCaseSensitiveParsing in interface RequestManagerMBeanisCaseSensitiveParsing - true if parsing is case sensitivepublic java.lang.String getXml()
getXml in interface XmlComponentString in xml formatted textpublic BackendStateListener getBackendStateListener()
public long getBeginTimeout()
getBeginTimeout in interface RequestManagerMBeanpublic void setBeginTimeout(long beginTimeout)
setBeginTimeout in interface RequestManagerMBeanbeginTimeout - The beginTimeout to set.public int getCacheParsingranularity()
getCacheParsingranularity in interface RequestManagerMBeanpublic void setCacheParsingranularity(int cacheParsingranularity)
setCacheParsingranularity in interface RequestManagerMBeancacheParsingranularity - The cacheParsingranularity to set.public long getCommitTimeout()
getCommitTimeout in interface RequestManagerMBeanpublic void setCommitTimeout(long commitTimeout)
setCommitTimeout in interface RequestManagerMBeancommitTimeout - The commitTimeout to set.public int getLoadBalancerParsingranularity()
getLoadBalancerParsingranularity in interface RequestManagerMBeanpublic void setLoadBalancerParsingranularity(int loadBalancerParsingranularity)
setLoadBalancerParsingranularity in interface RequestManagerMBeanloadBalancerParsingranularity - The loadBalancerParsingranularity to
set.public int getRequiredParsingGranularity()
getRequiredParsingGranularity in interface RequestManagerMBeanpublic void setRequiredParsingGranularity(int requiredGranularity)
setRequiredParsingGranularity in interface RequestManagerMBeanrequiredGranularity - The requiredParsingGranularity to set.public long getRollbackTimeout()
getRollbackTimeout in interface RequestManagerMBeanpublic void setRollbackTimeout(long rollbackTimeout)
setRollbackTimeout in interface RequestManagerMBeanrollbackTimeout - The rollbackTimeout to set.public int getSchedulerParsingranularity()
getSchedulerParsingranularity in interface RequestManagerMBeanpublic void setSchedulerParsingranularity(int schedulerParsingranularity)
setSchedulerParsingranularity in interface RequestManagerMBeanschedulerParsingranularity - The schedulerParsingranularity to set.public boolean isSchemaIsStatic()
isSchemaIsStatic in interface RequestManagerMBeanpublic void setSchemaIsStatic(boolean schemaIsStatic)
setSchemaIsStatic in interface RequestManagerMBeanschemaIsStatic - The schemaIsStatic to set.public boolean isCaseSensitiveParsing()
isCaseSensitiveParsing in interface RequestManagerMBeanpublic java.lang.String getAssociatedString()
AbstractStandardMBean
getAssociatedString in class AbstractStandardMBeanAbstractStandardMBean.getAssociatedString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||