/** * Rollback a transaction to a named checkpoint * * @param checkpointName the name of the checkpoint, previously declared with {@see * Handle#checkpoint} */ public Handle rollback(String checkpointName) { final long start = System.nanoTime(); transactions.rollback(this, checkpointName); log.logRollbackToCheckpoint((System.nanoTime() - start) / 1000000L, this, checkpointName); return this; }
/** Rollback a transaction */ public Handle rollback() { final long start = System.nanoTime(); transactions.rollback(this); log.logRollbackTransaction((System.nanoTime() - start) / 1000000L, this); return this; }