Пример #1
0
 /** Abort all cursors opened on the provided log file. */
 private void abortCursorsOpenOnLogFile(LogFile<K, V> logFile) {
   for (AbortableLogCursor<K, V> cursor : openCursors) {
     if (cursor.isAccessingLogFile(logFile)) {
       cursor.abort();
     }
   }
 }
Пример #2
0
 private void abortAllOpenCursors() throws ChangelogException {
   for (AbortableLogCursor<K, V> cursor : openCursors) {
     cursor.abort();
   }
 }