ojb.server
Class ObjectStateTable

java.lang.Object
ojb.server.ObjectStateTable
- public class ObjectStateTable
- extends java.lang.Object
|
Field Summary |
private static boolean |
_debug
debug flag |
private java.util.Hashtable |
table
the internal table mapping Objects to their ObjectModification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_debug
private static boolean _debug
- debug flag
table
private java.util.Hashtable table
- the internal table mapping Objects to their ObjectModification
ObjectStateTable
public ObjectStateTable()
- Creates new ObjectStateTable
checkpoint
public void checkpoint()
- perfom checkpoint for all tx-state in the table
commit
public void commit()
- perform commit on all tx-states
rollback
public void rollback()
- perform commit on all tx-states
remove
public void remove(java.lang.Object key)
- remove an objects entry from the Hashtable
get
public ojb.server.states.ObjectModification get(java.lang.Object key)
- retrieve an objects ObjectModification state from the hashtable
put
public void put(java.lang.Object key,
ojb.server.states.ObjectModification modification)
- store an objects transactionalstate into the Hashtable