[+/-]
Transaction represents a user transaction active in the cluster.
public interface com.mysql.clusterj.Transaction {
// Public Methodspublic void begin();
public void commit();
public boolean getRollbackOnly();
public boolean isActive();
public void rollback();
public void setRollbackOnly();
}
public boolean getRollbackOnly();
Has this transaction been marked for rollback only?
Parameters | |
return |
true if the transaction has been marked for rollback only |
public boolean isActive();
Is there a transaction currently active?
Parameters | |
return |
true if a transaction is active |