public void intermediateCommit() { if (countCommit % COMMIT_INTERVAL == 0) { transaction.endTransaction(); transaction.finish(); transaction.beginTransaction(); // logger.info("commit selectBestCellToMove: " + countCommit); } countCommit++; }
public void rollback() { transaction.failure(); }
public void commit() { transaction.endTransaction(); transaction.finish(); }
public void beginTransaction() { transaction.beginTransaction(); countCommit = 1; }