Package | Description |
---|---|
net.sf.ehcache |
This package contains the public API for using ehcache.
|
net.sf.ehcache.terracotta |
This package contains the Terracotta integration functionalities.
|
net.sf.ehcache.transaction |
This package contains classes for controlling cache operations for transactional use.
|
net.sf.ehcache.transaction.local |
This package contains the local transactions subsystem.
|
net.sf.ehcache.transaction.xa |
This package contains the functionality to provide XA support to a transactional Cache.
|
net.sf.ehcache.transaction.xa.commands |
This package contains a representation of the queued commands which can be executed against a
XA store.
|
Modifier and Type | Method and Description |
---|---|
SoftLockManager |
FeaturesManager.createSoftLockManager(Ehcache cache,
SoftLockFactory lockFactory)
Create a soft-lock map for the given cache
|
Modifier and Type | Method and Description |
---|---|
SoftLockManager |
ClusteredInstanceFactoryWrapper.getOrCreateSoftLockManager(Ehcache cache)
Create a SoftLockManager for a cache
|
SoftLockManager |
ClusteredInstanceFactory.getOrCreateSoftLockManager(Ehcache cache)
Create a SoftLockManager for a cache
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSoftLockManager
An abstract map backed soft lock manager.
|
class |
SoftLockManagerImpl
A SoftLockFactory implementation which creates soft locks with Read-Committed isolation level
|
Modifier and Type | Method and Description |
---|---|
ReadCommittedSoftLockImpl |
ReadCommittedSoftLockFactory.newSoftLock(SoftLockManager manager,
Object key)
Construct a new softlock to be managed by the given manager for a specific key.
|
SoftLock |
SoftLockFactory.newSoftLock(SoftLockManager manager,
Object key)
Construct a new softlock to be managed by the given manager for a specific key.
|
Constructor and Description |
---|
LocalTransactionStore(TransactionController transactionController,
TransactionIDFactory transactionIdFactory,
SoftLockManager softLockManager,
Ehcache cache,
Store store,
ElementValueComparator comparator)
Create a new LocalTransactionStore instance
|
Constructor and Description |
---|
EhcacheXAResourceImpl(Ehcache cache,
Store underlyingStore,
TransactionManagerLookup txnManagerLookup,
SoftLockManager softLockManager,
TransactionIDFactory transactionIDFactory,
ElementValueComparator comparator,
org.terracotta.statistics.observer.OperationObserver<XaCommitOutcome> commitObserver,
org.terracotta.statistics.observer.OperationObserver<XaRollbackOutcome> rollbackObserver,
org.terracotta.statistics.observer.OperationObserver<XaRecoveryOutcome> recoveryObserver)
Constructor
|
XATransactionStore(TransactionManagerLookup transactionManagerLookup,
SoftLockManager softLockManager,
TransactionIDFactory transactionIdFactory,
Ehcache cache,
Store store,
ElementValueComparator comparator)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractStoreCommand.prepare(Store store,
SoftLockManager softLockManager,
XidTransactionID transactionId,
ElementValueComparator comparator)
Prepare the commmand un the underlying store
|
boolean |
Command.prepare(Store store,
SoftLockManager softLockManager,
XidTransactionID transactionId,
ElementValueComparator comparator)
Prepare the commmand un the underlying store
|
void |
AbstractStoreCommand.rollback(Store store,
SoftLockManager softLockManager)
Rollback the prepared change
|
void |
Command.rollback(Store store,
SoftLockManager softLockManager)
Rollback the prepared change
|
Copyright © 2003–2016 Terracotta, Inc.. All rights reserved.