|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Configuration.TransactionConfig
Defines transactional (JTA) characteristics of the cache.
Method Summary | |
---|---|
Configuration.TransactionConfig |
cacheStopTimeout(Integer cacheStopTimeout)
If there are any ongoing transactions when a cache is stopped, Infinispan waits for ongoing remote and local transactions to finish. |
Configuration.TransactionConfig |
eagerLockSingleNode(Boolean eagerLockSingleNode)
Only has effect for DIST mode and when useEagerLocking is set to true. |
Configuration.TransactionConfig |
syncCommitPhase(Boolean syncCommitPhase)
If true, the cluster-wide commit phase in two-phase commit (2PC) transactions will be synchronous, so Infinispan will wait for responses from all nodes to which the commit was sent. |
Configuration.TransactionConfig |
syncRollbackPhase(Boolean syncRollbackPhase)
If true, the cluster-wide rollback phase in two-phase commit (2PC) transactions will be synchronous, so Infinispan will wait for responses from all nodes to which the rollback was sent. |
Configuration.TransactionConfig |
transactionManagerLookupClass(Class<? extends TransactionManagerLookup> transactionManagerLookupClass)
Fully qualified class name of a class that looks up a reference to a TransactionManager . |
Configuration.TransactionConfig |
useEagerLocking(Boolean useEagerLocking)
Only has effect for DIST mode and when useEagerLocking is set to true. |
Configuration.TransactionConfig |
usingTransactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
Configure Transaction manager lookup directly using an instance of TransactionManagerLookup |
Method Detail |
---|
Configuration.TransactionConfig transactionManagerLookupClass(Class<? extends TransactionManagerLookup> transactionManagerLookupClass)
TransactionManager
. The default provided is capable of locating
the default TransactionManager in most popular Java EE systems, using a JNDI lookup.
transactionManagerLookupClass
- Configuration.TransactionConfig syncCommitPhase(Boolean syncCommitPhase)
syncCommitPhase
- Configuration.TransactionConfig syncRollbackPhase(Boolean syncRollbackPhase)
syncRollbackPhase
- Configuration.TransactionConfig useEagerLocking(Boolean useEagerLocking)
useEagerLocking
- Configuration.TransactionConfig usingTransactionManagerLookup(TransactionManagerLookup transactionManagerLookup)
transactionManagerLookup
- instance to use as lookup
Configuration.TransactionConfig eagerLockSingleNode(Boolean eagerLockSingleNode)
eagerLockSingleNode
- Configuration.TransactionConfig cacheStopTimeout(Integer cacheStopTimeout)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |