|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
TransactionLog represents a dbXML Transaction Log
Method Summary | |
void |
cancel(Transaction tx)
cancel ends a transaction participation for the current Collection and Thread. |
void |
commit(Transaction tx)
commit ends a transaction participation for the current Collection and Thread. |
int |
getTransactionCount()
getTransactionCount returns the number of active Transactions that have registered with this Transaction Log. |
java.util.Iterator |
getTransactions()
getTransactions returns an Iterator of the active Transactions that have registered with this Transaction Log. |
void |
start(Transaction tx)
start Starts a transaction participation for the current Collection and binds the specified Transaction to the current Thread. |
Method Detail |
public void start(Transaction tx) throws TransactionException
tx
- The Transaction to bind
TransactionException
public void commit(Transaction tx) throws TransactionException
tx
- The Transaction to commit
TransactionException
public void cancel(Transaction tx) throws TransactionException
tx
- The Transaction to cancel
TransactionException
public int getTransactionCount() throws TransactionException
TransactionException
public java.util.Iterator getTransactions() throws TransactionException
TransactionException
|
dbXML API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |