org.apache.commons.transaction.memory
Class BasicTxMap.MapTxContext
java.lang.Object
org.apache.commons.transaction.AbstractTransactionalResourceManager.AbstractTxContext
org.apache.commons.transaction.memory.BasicTxMap.MapTxContext
- Direct Known Subclasses:
- OptimisticTxMap.CopyingTxContext, PessimisticTxMap.LockingTxContext
- Enclosing class:
- BasicTxMap<K,V>
public class BasicTxMap.MapTxContext
- extends AbstractTransactionalResourceManager.AbstractTxContext
| Methods inherited from class org.apache.commons.transaction.AbstractTransactionalResourceManager.AbstractTxContext |
dispose, isMarkedForRollback, isReadOnly, join, markForRollback, prepare, readLock, rollback, setReadOnly, start, writeLock |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deletes
protected Set<K> deletes
changes
protected Map<K,V> changes
adds
protected Map<K,V> adds
cleared
protected boolean cleared
BasicTxMap.MapTxContext
protected BasicTxMap.MapTxContext()
keys
protected Set<K> keys()
get
protected V get(Object key)
put
protected void put(K key,
V value)
remove
protected void remove(Object key)
size
protected int size()
clear
protected void clear()
isEmpty
protected boolean isEmpty()
commit
public void commit()
- Overrides:
commit in class AbstractTransactionalResourceManager.AbstractTxContext
Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.