| Package | Description |
|---|---|
| bitronix.tm |
JTA interfaces implementations and global services.
|
| Modifier and Type | Method and Description |
|---|---|
static Configuration |
TransactionManagerServices.getConfiguration()
Create the configuration of all the components of the transaction manager.
|
Configuration |
Configuration.setAllowMultipleLrc(boolean allowMultipleLrc)
Set to true if the transaction manager should allow enlistment of multiple LRC resources in a single transaction.
|
Configuration |
Configuration.setAsynchronous2Pc(boolean asynchronous2Pc)
Set if two phase commit should be executed asynchronously.
|
Configuration |
Configuration.setBackgroundRecoveryInterval(int backgroundRecoveryInterval)
Deprecated.
superceded by #setBackgroundRecoveryIntervalSeconds(int).
|
Configuration |
Configuration.setBackgroundRecoveryIntervalSeconds(int backgroundRecoveryIntervalSeconds)
Set the interval in seconds at which to run the recovery process in the background.
|
Configuration |
Configuration.setCurrentNodeOnlyRecovery(boolean currentNodeOnlyRecovery)
Set to true if recovery should filter out recovered XIDs that do not contain this JVM's unique ID, false otherwise.
|
Configuration |
Configuration.setDebugZeroResourceTransaction(boolean debugZeroResourceTransaction)
Set if creation and commit call stacks of transactions executed without a single enlisted resource should be
tracked and logged.
|
Configuration |
Configuration.setDefaultTransactionTimeout(int defaultTransactionTimeout)
Set the default transaction timeout in seconds.
|
Configuration |
Configuration.setDisableJmx(boolean disableJmx)
Set to true if JMX Mbeans should not be registered even if a JMX MBean server is detected.
|
Configuration |
Configuration.setExceptionAnalyzer(java.lang.String exceptionAnalyzer)
Set the exception analyzer implementation.
|
Configuration |
Configuration.setFilterLogStatus(boolean filterLogStatus)
Set if only mandatory logs should be written.
|
Configuration |
Configuration.setForceBatchingEnabled(boolean forceBatchingEnabled)
Set if disk forces are batched.
|
Configuration |
Configuration.setForcedWriteEnabled(boolean forcedWriteEnabled)
Set if logs are forced to disk.
|
Configuration |
Configuration.setGracefulShutdownInterval(int gracefulShutdownInterval)
Set the maximum amount of seconds the TM will wait for transactions to get done before aborting them at shutdown
time.
|
Configuration |
Configuration.setJndiTransactionSynchronizationRegistryName(java.lang.String jndiTransactionSynchronizationRegistryName)
Set the name the
TransactionSynchronizationRegistry should be bound under in the
BitronixContext. |
Configuration |
Configuration.setJndiUserTransactionName(java.lang.String jndiUserTransactionName)
Set the name the
UserTransaction should be bound under in the
BitronixContext. |
Configuration |
Configuration.setJournal(java.lang.String journal)
Set the journal name.
|
Configuration |
Configuration.setLogPart1Filename(java.lang.String logPart1Filename)
Set the journal fragment file 1 name.
|
Configuration |
Configuration.setLogPart2Filename(java.lang.String logPart2Filename)
Set the journal fragment file 2 name.
|
Configuration |
Configuration.setMaxLogSizeInMb(int maxLogSizeInMb)
Set the Maximum size in megabytes of the journal fragments.
|
Configuration |
Configuration.setResourceConfigurationFilename(java.lang.String resourceConfigurationFilename)
Set the
ResourceLoader configuration file name. |
Configuration |
Configuration.setServerId(java.lang.String serverId)
Set the ASCII ID that must uniquely identify this TM instance.
|
Configuration |
Configuration.setSkipCorruptedLogs(boolean skipCorruptedLogs)
Set if corrupted logs should be skipped.
|
Configuration |
Configuration.setWarnAboutZeroResourceTransaction(boolean warnAboutZeroResourceTransaction)
Set if transactions executed without a single enlisted resource should result in a warning or not.
|
Copyright © 2006-2022 Bitronix Software. All Rights Reserved.