code: void resetHead(long index) {
      for (SegmentedJournalReader reader : readers) {
        if (reader.getNextIndex() < index) {
          reader.reset(index);
        }
      }
    }
docs: Resets journal readers to the given head.
  
  @param index The index at which to reset readers.