Separate out RaftEntryMeta
[controller.git] / atomix-storage / src / main / java / io / atomix / storage / journal / JournalWriter.java
index 0561c99fe04579a713b12af38cdec7b2b94971e1..649e43e4efda36051f50d28a6cbe44076978219e 100644 (file)
@@ -51,18 +51,8 @@ public interface JournalWriter<E> {
      * @param index the next index to write
      * @throws IndexOutOfBoundsException if the journal cannot be reset to specified index
      */
-    // FIXME: reconcile with reader's reset and truncate()
     void reset(long index);
 
-    /**
-     * Truncates the log to the given index.
-     *
-     * @param index The index to which to truncate the log.
-     * @throws IndexOutOfBoundsException if the journal cannot be reset to specified index
-     */
-    // FIXME: reconcile with reset()
-    void truncate(long index);
-
     /**
      * Flushes written entries to disk.
      */