@Override
  public void doPrefetch(int index, long relativeOffset, long size) throws IOException {
    try {
      readOptions.get(index).doPrefetch(relativeOffset, size);
      handler.onSuccess();
    } catch (IOException e) {
      if (e.getMessage().contains("Input/output error")) {
        handler.onError();
      }
      throw e;
    }
  }
An implementation of MessageReadSet that maintains a list of
offsets from the underlying file channel
ambry-store/src/main/java/com/github/ambry/store/StoreMessageReadSet.java