MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
void | begin () |
void | commit () |
void | rollback () |
boolean | isActive () |
void | setRollbackOnly () |
boolean | getRollbackOnly () |
Protected Attributes | |
SessionImpl | session |
Definition at line 28 of file TransactionImpl.java.
|
inline |
Begin a transaction.
Implements com.mysql.clusterj.Transaction.
Definition at line 43 of file TransactionImpl.java.
|
inline |
Commit a transaction.
Implements com.mysql.clusterj.Transaction.
Definition at line 47 of file TransactionImpl.java.
|
inline |
Has this transaction been marked for rollback only?
Implements com.mysql.clusterj.Transaction.
Definition at line 63 of file TransactionImpl.java.
|
inline |
Is there a transaction currently active?
Implements com.mysql.clusterj.Transaction.
Definition at line 55 of file TransactionImpl.java.
|
inline |
Roll back a transaction.
Implements com.mysql.clusterj.Transaction.
Definition at line 51 of file TransactionImpl.java.
|
inline |
Mark this transaction as rollback only. After this method is called, commit() will roll back the transaction and throw an exception; rollback() will roll back the transaction and not throw an exception.
Implements com.mysql.clusterj.Transaction.
Definition at line 59 of file TransactionImpl.java.
|
protected |
My session.
Definition at line 37 of file TransactionImpl.java.