| |
|
| java.lang.Object org.apache.commons.transaction.memory.TransactionalMapWrapper org.apache.commons.transaction.memory.OptimisticMapWrapper
Inner Class :public class CopyingTxContext extends TxContext | |
ACCESS_TIMEOUT | final protected static int ACCESS_TIMEOUT(Code) | | |
COMMIT_TIMEOUT | final protected static int COMMIT_TIMEOUT(Code) | | |
activeTransactions | protected Set activeTransactions(Code) | | |
OptimisticMapWrapper | public OptimisticMapWrapper(Map wrapped)(Code) | | Creates a new optimistic transactional map wrapper. Temporary maps and sets to store transactional
data will be instances of
java.util.HashMap and
java.util.HashSet .
Parameters: wrapped - map to be wrapped |
OptimisticMapWrapper | public OptimisticMapWrapper(Map wrapped, MapFactory mapFactory, SetFactory setFactory)(Code) | | Creates a new optimistic transactional map wrapper. Temporary maps and sets to store transactional
data will be created and disposed using
MapFactory and
SetFactory .
Parameters: wrapped - map to be wrapped Parameters: mapFactory - factory for temporary maps Parameters: setFactory - factory for temporary sets |
OptimisticMapWrapper | public OptimisticMapWrapper(Map wrapped, MapFactory mapFactory, SetFactory setFactory, LoggerFacade logger)(Code) | | Creates a new optimistic transactional map wrapper. Temporary maps and sets to store transactional
data will be created and disposed using
MapFactory and
SetFactory .
Parameters: wrapped - map to be wrapped Parameters: mapFactory - factory for temporary maps Parameters: setFactory - factory for temporary sets Parameters: logger - generic logger used for all kinds of logging |
copyChangesToConcurrentTransactions | protected void copyChangesToConcurrentTransactions()(Code) | | |
rollbackTransaction | public void rollbackTransaction()(Code) | | |
startTransaction | public void startTransaction()(Code) | | |
|
|
|