docs: private void rewind(long index) {
      if (currentSegment.index() >= index) {
        JournalSegment<E> segment = journal.getSegment(index - 1);
        if (segment != null) {
          currentReader.close();
          currentSegment.release();
          currentSegment = segment;
          currentSegment.acquire();
          currentReader = currentSegment.createReader();
        }
      }
  
      currentReader.reset(index);
      previousEntry = currentReader.getCurrentEntry();
    }