org.apache.commons.transaction.memory
Class PessimisticTxMap.LockingTxContext

java.lang.Object
  extended by org.apache.commons.transaction.AbstractTransactionalResourceManager.AbstractTxContext
      extended by org.apache.commons.transaction.memory.BasicTxMap.MapTxContext
          extended by org.apache.commons.transaction.memory.PessimisticTxMap.LockingTxContext
Enclosing class:
PessimisticTxMap<K,V>

public class PessimisticTxMap.LockingTxContext
extends BasicTxMap.MapTxContext


Field Summary
 
Fields inherited from class org.apache.commons.transaction.memory.BasicTxMap.MapTxContext
adds, changes, cleared, deletes
 
Constructor Summary
PessimisticTxMap.LockingTxContext()
           
 
Method Summary
protected  void clear()
           
protected  V get(Object key)
           
protected  Set keys()
           
protected  void put(K key, V value)
           
protected  void remove(Object key)
           
protected  int size()
           
 
Methods inherited from class org.apache.commons.transaction.memory.BasicTxMap.MapTxContext
commit, isEmpty
 
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
 

Constructor Detail

PessimisticTxMap.LockingTxContext

public PessimisticTxMap.LockingTxContext()
Method Detail

keys

protected Set keys()
Overrides:
keys in class BasicTxMap.MapTxContext

get

protected V get(Object key)
Overrides:
get in class BasicTxMap.MapTxContext

put

protected void put(K key,
                   V value)
Overrides:
put in class BasicTxMap.MapTxContext

remove

protected void remove(Object key)
Overrides:
remove in class BasicTxMap.MapTxContext

size

protected int size()
Overrides:
size in class BasicTxMap.MapTxContext

clear

protected void clear()
Overrides:
clear in class BasicTxMap.MapTxContext


Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.