@Override
  public T get(String path, Stat stat, int options) {
    if (readLatch != null) {
      readLatch.countDown();
    }
    T result = pathToRecords.get(path);
    if (result != null && stat != null) {
      Stat resultStat = pathToStats.get(path);
      DataTree.copyStat(resultStat, stat);
    }
    return result;
  }
{@inheritDoc}

This is not thread safe if some thread is setting {@link #readLatch}.
ambry-clustermap/src/test/java/com/github/ambry/clustermap/MockHelixPropertyStore.java