public Pair<Long, Integer> getOffsetAndSize(int id) throws IOException {
    return withReadLock(() -> {
      return Pair.create(myRecordsTable.getAddress(id), myRecordsTable.getSize(id));
    });
  }
public Pair<Long, Integer> getOffsetAndSize(int id)