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