Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • local, which will use a local transaction manager (rather than a JTA one), and permit users to create ACID operations across multiple caches
    Code Block
    xml
    xml
    transactionalMode="local"
    
  • local_jta, which will use a JTA transaction manager, but will be designed for use with a single resource manager in mind and to work with a lower level of recoverability than the "xa" mode. (it won't recover transaction is the case of catastrophic failure).
    Code Block
    xml
    xml
    transactionalMode="local_jta"
    
    Local is the fastest mode, followed by local_jta, followed by xa

A sample that demonstrates the new transaction modes is available here: https://github.com/sharrissf/Ehcache-Local-Transaction-Sample/downloads

...