Separate byte-level atomic-storage access
[controller.git] / atomix-storage / src / main / java / io / atomix / storage / journal / JournalReader.java
index a3c6ea5366a14691b8c6e653e99dcfcbe223a73c..635f6248c44f5d585e6dd52a118618672a1458ab 100644 (file)
@@ -75,10 +75,10 @@ public interface JournalReader<E> extends AutoCloseable {
     /**
      * Try to move to the next entry.
      *
-     * @param mapper callback to be invoked for the entry
+     * @param entryMapper callback to be invoked for the entry
      * @return processed entry, or {@code null}
      */
-    <T> @Nullable T tryNext(EntryMapper<E, T> mapper);
+    <T> @Nullable T tryNext(EntryMapper<E, T> entryMapper);
 
     /**
      * Resets the reader to the start.