|
|||||||||
| Home >> All >> ojb >> [ odmg overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
ojb.odmg
Class ObjectStateTable

java.lang.Objectojb.odmg.ObjectStateTable
- public class ObjectStateTable
- extends java.lang.Object
Class declaration
- Version:
- %I%, %G%
| Field Summary | |
private java.util.Hashtable |
table
the internal table mapping Objects to their ObjectTransactionWrappers |
| Constructor Summary | |
ObjectStateTable()
Creates new ObjectStateTable |
|
| Method Summary | |
void |
checkpoint()
perfom checkpoint for all tx-state in the table |
void |
commit()
perform commit on all tx-states |
boolean |
contains(java.lang.Object key)
retrieve an objects ObjectModification state from the hashtable |
java.util.Enumeration |
elements()
Insert the method's description here. |
ObjectTransactionWrapper |
get(java.lang.Object key)
retrieve an objects ObjectModification state from the hashtable |
void |
put(java.lang.Object key,
ObjectTransactionWrapper modification)
store an objects transactional state into the Hashtable |
void |
remove(java.lang.Object key)
remove an objects entry from the Hashtable |
void |
rollback()
perform rollback on all tx-states |
java.lang.String |
toString()
Insert the method's description here. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
table
private java.util.Hashtable table
- the internal table mapping Objects to their ObjectTransactionWrappers
| Constructor Detail |
ObjectStateTable
public ObjectStateTable()
- Creates new ObjectStateTable
| Method Detail |
checkpoint
public void checkpoint()
throws org.odmg.TransactionAbortedException
- perfom checkpoint for all tx-state in the table
commit
public void commit()
throws org.odmg.TransactionAbortedException
- perform commit on all tx-states
rollback
public void rollback()
- perform rollback on all tx-states
remove
public void remove(java.lang.Object key)
- remove an objects entry from the Hashtable
elements
public java.util.Enumeration elements()
- Insert the method's description here.
Creation date: (11.02.2001 12:45:08)
get
public ObjectTransactionWrapper get(java.lang.Object key)
- retrieve an objects ObjectModification state from the hashtable
put
public void put(java.lang.Object key, ObjectTransactionWrapper modification)
- store an objects transactional state into the Hashtable
toString
public java.lang.String toString()
- Insert the method's description here.
Creation date: (11.02.2001 12:45:08)
contains
public boolean contains(java.lang.Object key)
- retrieve an objects ObjectModification state from the hashtable
|
|||||||||
| Home >> All >> ojb >> [ odmg overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
ojb.odmg.ObjectStateTable