|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionHandler
Preliminary interface for graphs supporting transactions.
Method Summary | |
---|---|
void |
abort()
If transactions are supported and there is a tranaction in progress, abort it. |
void |
begin()
If transactions are supported, begin a new transaction. |
void |
commit()
If transactions are supported and there is a tranaction in progress, commit it. |
Object |
executeInTransaction(Command c)
If transactions are supported, execute the command c within a transaction and return its result. |
boolean |
transactionsSupported()
Does this handler support transactions at all? |
Method Detail |
---|
boolean transactionsSupported()
void begin()
void abort()
void commit()
Object executeInTransaction(Command c)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |