org.apache.commons.transaction.memory
Class TransactionalMapWrapper.TxContext

java.lang.Object
  extended by org.apache.commons.transaction.memory.TransactionalMapWrapper.TxContext
Direct Known Subclasses:
OptimisticMapWrapper.CopyingTxContext, PessimisticMapWrapper.LockingTxContext
Enclosing class:
TransactionalMapWrapper

public class TransactionalMapWrapper.TxContext
extends java.lang.Object


Field Summary
protected  java.util.Map adds
           
protected  java.util.Map changes
           
protected  boolean cleared
           
protected  java.util.Set deletes
           
protected  boolean readOnly
           
protected  int status
           
protected  boolean suspended
           
 
Constructor Summary
protected TransactionalMapWrapper.TxContext()
           
 
Method Summary
protected  void clear()
           
protected  void dispose()
           
protected  java.lang.Object get(java.lang.Object key)
           
protected  boolean isEmpty()
           
protected  java.util.Set keys()
           
protected  void merge()
           
protected  void put(java.lang.Object key, java.lang.Object value)
           
protected  void remove(java.lang.Object key)
           
protected  int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deletes

protected java.util.Set deletes

changes

protected java.util.Map changes

adds

protected java.util.Map adds

status

protected int status

cleared

protected boolean cleared

readOnly

protected boolean readOnly

suspended

protected boolean suspended
Constructor Detail

TransactionalMapWrapper.TxContext

protected TransactionalMapWrapper.TxContext()
Method Detail

keys

protected java.util.Set keys()

get

protected java.lang.Object get(java.lang.Object key)

put

protected void put(java.lang.Object key,
                   java.lang.Object value)

remove

protected void remove(java.lang.Object key)

size

protected int size()

clear

protected void clear()

isEmpty

protected boolean isEmpty()

merge

protected void merge()

dispose

protected void dispose()


Copyright ? 2004 The Apache Software Foundation. All Rights Reserved.