|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Transaction<T>
Class giving the ability to start, commit and rollback a transaction.
Method Summary | |
---|---|
void |
commit()
Commit the transaction. |
T |
getNativeTransaction()
|
boolean |
isActive()
Whether the transaction is active |
void |
rollback()
Rollback the transaction. |
void |
setTimeout(int timeout)
Sets the transaction timeout period |
Method Detail |
---|
void commit()
void rollback()
T getNativeTransaction()
boolean isActive()
void setTimeout(int timeout)
timeout
- The timeout
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |