MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mysql.clusterj.core.TransactionImpl Class Reference
Inheritance diagram for com.mysql.clusterj.core.TransactionImpl:
Collaboration diagram for com.mysql.clusterj.core.TransactionImpl:

Public Member Functions

void begin ()
void commit ()
void rollback ()
boolean isActive ()
void setRollbackOnly ()
boolean getRollbackOnly ()

Protected Attributes

SessionImpl session

Detailed Description

Definition at line 28 of file TransactionImpl.java.

Member Function Documentation

void com.mysql.clusterj.core.TransactionImpl.begin ( )
inline

Begin a transaction.

Implements com.mysql.clusterj.Transaction.

Definition at line 43 of file TransactionImpl.java.

Here is the call graph for this function:

void com.mysql.clusterj.core.TransactionImpl.commit ( )
inline

Commit a transaction.

Implements com.mysql.clusterj.Transaction.

Definition at line 47 of file TransactionImpl.java.

Here is the call graph for this function:

boolean com.mysql.clusterj.core.TransactionImpl.getRollbackOnly ( )
inline

Has this transaction been marked for rollback only?

Returns
true if the transaction has been marked for rollback only

Implements com.mysql.clusterj.Transaction.

Definition at line 63 of file TransactionImpl.java.

Here is the call graph for this function:

boolean com.mysql.clusterj.core.TransactionImpl.isActive ( )
inline

Is there a transaction currently active?

Returns
true if a transaction is active

Implements com.mysql.clusterj.Transaction.

Definition at line 55 of file TransactionImpl.java.

void com.mysql.clusterj.core.TransactionImpl.rollback ( )
inline

Roll back a transaction.

Implements com.mysql.clusterj.Transaction.

Definition at line 51 of file TransactionImpl.java.

Here is the call graph for this function:

void com.mysql.clusterj.core.TransactionImpl.setRollbackOnly ( )
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.

Here is the call graph for this function:

Member Data Documentation

SessionImpl com.mysql.clusterj.core.TransactionImpl.session
protected

My session.

Definition at line 37 of file TransactionImpl.java.


The documentation for this class was generated from the following file: