docs: void unmap() {
      if (writer instanceof MappedJournalSegmentWriter) {
        JournalWriter<E> writer = this.writer;
        this.writer = new FileChannelJournalSegmentWriter<>(channel, segment, maxEntrySize, index, namespace);
        writer.close();
      }
    }