private void validateIndex(int index) {
    if (index >= blobReadInfoList.size()) {
      throw new IndexOutOfBoundsException("index [" + index + "] out of the messageset");
    }
  }
Validate that the index is withing the bounds of {@code blobReadInfoList}
@param index The index to be verified
@throws {@code IndexOutOfBoundsException} if the index is out of bounds
ambry-cloud/src/main/java/com/github/ambry/cloud/CloudMessageReadSet.java