Package | Description |
---|---|
net.sf.ehcache |
This package contains the public API for using ehcache.
|
net.sf.ehcache.transaction.local |
This package contains the local transactions subsystem.
|
net.sf.ehcache.transaction.manager |
This package contains the ehcache lookup interface for the supported JTA transaction managers.
|
net.sf.ehcache.transaction.manager.selector |
This package contains JTA transaction managers selectors.
|
net.sf.ehcache.transaction.xa |
This package contains the functionality to provide XA support to a transactional Cache.
|
Modifier and Type | Field and Description |
---|---|
private EhcacheXAResource |
Cache.xaResource |
Modifier and Type | Class and Description |
---|---|
private static class |
JtaLocalTransactionStore.JtaLocalEhcacheXAResource
A XAResource implementation used to terminate the local transaction and clean it up.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<EhcacheXAResource> |
DefaultTransactionManagerLookup.uninitializedEhcacheXAResources |
Modifier and Type | Method and Description |
---|---|
void |
TransactionManagerLookup.register(EhcacheXAResource resource,
boolean forRecovery)
execute txnManager specific code to register the XAResource for recovery.
|
void |
DefaultTransactionManagerLookup.register(EhcacheXAResource resource,
boolean forRecovery)
execute txnManager specific code to register the XAResource for recovery.
|
void |
TransactionManagerLookup.unregister(EhcacheXAResource resource,
boolean forRecovery)
execute txnManager specific code to unregister the XAResource for recovery.
|
void |
DefaultTransactionManagerLookup.unregister(EhcacheXAResource resource,
boolean forRecovery)
execute txnManager specific code to unregister the XAResource for recovery.
|
Modifier and Type | Method and Description |
---|---|
void |
BitronixSelector.registerResource(EhcacheXAResource ehcacheXAResource,
boolean forRecovery)
Register an XAResource with the transaction manager.
|
void |
WeblogicSelector.registerResource(EhcacheXAResource ehcacheXAResource,
boolean forRecovery)
Register an XAResource with the transaction manager.
|
void |
Selector.registerResource(EhcacheXAResource ehcacheXAResource,
boolean forRecovery)
Register an XAResource with the transaction manager.
|
void |
BitronixSelector.unregisterResource(EhcacheXAResource ehcacheXAResource,
boolean forRecovery)
Unregister an XAResource from the transaction manager.
|
void |
WeblogicSelector.unregisterResource(EhcacheXAResource ehcacheXAResource,
boolean forRecovery)
Unregister an XAResource from the transaction manager.
|
void |
Selector.unregisterResource(EhcacheXAResource ehcacheXAResource,
boolean forRecovery)
Unregister an XAResource from the transaction manager.
|
Modifier and Type | Class and Description |
---|---|
class |
EhcacheXAResourceImpl
The EhcacheXAResource implementation
|
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.ConcurrentHashMap<javax.transaction.Transaction,EhcacheXAResource> |
XATransactionStore.transactionToXAResourceMap |
Modifier and Type | Method and Description |
---|---|
void |
XATransactionStore.CleanupXAResource.afterCommitOrRollback(EhcacheXAResource xaResource) |
void |
XATransactionStore.UnregisterXAResource.afterCommitOrRollback(EhcacheXAResource xaResource) |
void |
XAExecutionListener.afterCommitOrRollback(EhcacheXAResource xaResource)
Called when the resource committed or rolled back
|
void |
XATransactionStore.CleanupXAResource.beforePrepare(EhcacheXAResource xaResource) |
void |
XATransactionStore.UnregisterXAResource.beforePrepare(EhcacheXAResource xaResource) |
void |
XAExecutionListener.beforePrepare(EhcacheXAResource xaResource)
Called when the resource is about to prepare
|