|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dbxml.db.core.transaction.Transaction
Transaction
Field Summary | |
static int |
ACTIVE
|
static int |
CANCELED
|
static int |
COMMITTED
|
Constructor Summary | |
Transaction()
|
|
Transaction(TransactionLog log)
|
Method Summary | |
void |
addTransactionLog(TransactionLog log)
addTransactionLog adds a TransactionLog to the partipation of this Transaction. |
void |
cancel()
commit ends a transaction by rolling back all data. |
void |
commit()
commit ends a transaction by commiting all data. |
long |
getEndTime()
getEndTime returns the ending time of this Transaction. |
long |
getID()
getID returns the internal ID of this Transaction. |
long |
getStartTime()
getStartTime returns the start time of this Transaction. |
int |
getStatus()
getStatus returns the status of this Transaction. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
equals, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int ACTIVE
public static final int COMMITTED
public static final int CANCELED
Constructor Detail |
public Transaction()
public Transaction(TransactionLog log) throws DBException
Method Detail |
public long getID()
public int getStatus()
public long getStartTime()
public long getEndTime()
public void commit() throws DBException
DBException
public void cancel() throws DBException
DBException
public void addTransactionLog(TransactionLog log) throws DBException
DBException
public int hashCode()
|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |