/** 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(); } } }
private void abortAllOpenCursors() throws ChangelogException { for (AbortableLogCursor<K, V> cursor : openCursors) { cursor.abort(); } }