ehcache

Package net.sf.ehcache.transaction.xa

This package contains the functionality to provide XA support to a transactional Cache.

See:
          Description

Interface Summary
EhcacheXAResource EhcacheXAResource represents an Ehcache instance.
EhcacheXAStore The EhcacheXAStore is storing XA related data for a Transaction Cache instance on behalf of EhcacheXAResource: Maps Xid to their Transaction Stores TransactionContext for all Transactions Tracks "checked out" versions of keys by active transaction, in order to provide an optimistic locking strategy Stores in a persistent manner prepared Transaction data Tracks versioning information on keys which are "in commit" phase (prepared, yet not commited yet)
PreparedCommand This class store relevant information about a command, once it has been prepared
PreparedContext  
VersionAwareCommand A more specialized type of Command, that is potentially aware of a version of the Element involved in its execution against the Store.
XARequestProcessor Class to delegate XAResource classes to internal thread
 

Class Summary
EhcacheXAResourceImpl Default implementation for EhcacheXAResource.
EhcacheXAStoreImpl Default implementation of EhcacheXAStore.
EhcacheXAStoreImpl.Version Represents an Element's version for a Store
EhcacheXAStoreImpl.VersionTable A table containing element version information
PreparedCommandImpl Default implementation of PreparedCommand.
PreparedContextImpl  
SyncAwareStore The class has a CacheLockProvider for entry level write methods.
TransactionXARequestProcessor Default implementation for TransactionXARequestProcessor.
VersionAwareWrapper Wraps a Command, that will first be checked against the optimistic locking strategy before being executed against the Store.
XARequest  
XATransactionContext XATransactionContext provides a READ_COMMITED transaction isolation to an EhcacheXAResource.
 

Enum Summary
XARequest.RequestType XA Requests types
 

Exception Summary
EhcacheXAException Small extension to the XAException defined in the JTA specification, to that the errorCode is provided when instanciating the Exception thrown
 

Package net.sf.ehcache.transaction.xa Description

This package contains the functionality to provide XA support to a transactional Cache.

Currently the only support for transactional Cache is XA. As such, this package contains the implementation of the TransactionContext for XA support (XATransactionContext).

As of now, only READ_COMMITED isolation level is provided. This is being handled by both XATransactionContext (being the local transactional data) and XATransactionalStore (wrapping the underlying Store instance and keeping the "in-transaction operations" on the cache in sync with the TransactionContext XA implementation.

It also contains the JTA XAResource implementation for Ehcache: EhcacheXAResourceImpl.


ehcache

true