Beispiel #1
0
 /**
  * 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;
 }