Uses of Class
bitronix.tm.Configuration
Packages that use Configuration
-
Uses of Configuration in bitronix.tm
Methods in bitronix.tm that return ConfigurationModifier and TypeMethodDescriptionstatic ConfigurationTransactionManagerServices.getConfiguration()Create the configuration of all the components of the transaction manager.Configuration.setAllowMultipleLrc(boolean allowMultipleLrc) Set to true if the transaction manager should allow enlistment of multiple LRC resources in a single transaction.Configuration.setAsynchronous2Pc(boolean asynchronous2Pc) Set if two phase commit should be executed asynchronously.Configuration.setBackgroundRecoveryInterval(int backgroundRecoveryInterval) Deprecated.superceded by #setBackgroundRecoveryIntervalSeconds(int).Configuration.setBackgroundRecoveryIntervalSeconds(int backgroundRecoveryIntervalSeconds) Set the interval in seconds at which to run the recovery process in the background.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.setDebugZeroResourceTransaction(boolean debugZeroResourceTransaction) Set if creation and commit call stacks of transactions executed without a single enlisted resource should be tracked and logged.Configuration.setDefaultTransactionTimeout(int defaultTransactionTimeout) Set the default transaction timeout in seconds.Configuration.setDisableJmx(boolean disableJmx) Set to true if JMX Mbeans should not be registered even if a JMX MBean server is detected.Configuration.setDisableRecovery(boolean disableRecovery) Useful for debugging with less noise.Configuration.setExceptionAnalyzer(String exceptionAnalyzer) Set the exception analyzer implementation.Configuration.setFilterLogStatus(boolean filterLogStatus) Set if only mandatory logs should be written.Configuration.setForceBatchingEnabled(boolean forceBatchingEnabled) Set if disk forces are batched.Configuration.setForcedWriteEnabled(boolean forcedWriteEnabled) Set if logs are forced to disk.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.setJndiTransactionSynchronizationRegistryName(String jndiTransactionSynchronizationRegistryName) Set the name theTransactionSynchronizationRegistryshould be bound under in theBitronixContext.Configuration.setJndiUserTransactionName(String jndiUserTransactionName) Set the name theUserTransactionshould be bound under in theBitronixContext.Configuration.setJournal(String journal) Set the journal name.Configuration.setLogPart1Filename(String logPart1Filename) Set the journal fragment file 1 name.Configuration.setLogPart2Filename(String logPart2Filename) Set the journal fragment file 2 name.Configuration.setMaxLogSizeInMb(int maxLogSizeInMb) Set the Maximum size in megabytes of the journal fragments.Configuration.setResourceConfigurationFilename(String resourceConfigurationFilename) Set theResourceLoaderconfiguration file name.Configuration.setServerId(String serverId) Set the ASCII ID that must uniquely identify this TM instance.Configuration.setSkipCorruptedLogs(boolean skipCorruptedLogs) Set if corrupted logs should be skipped.Configuration.setWarnAboutZeroResourceTransaction(boolean warnAboutZeroResourceTransaction) Set if transactions executed without a single enlisted resource should result in a warning or not.