docs: private synchronized String getCacheLocation() {
      if (metricsCacheLocation != null) {
        return metricsCacheLocation;
      }
  
      MetricsCacheLocation cacheLocation = stateManagerAdaptor.getMetricsCacheLocation(topologyName);
      metricsCacheLocation = String.format("http://%s:%s/%s", cacheLocation.getHost(),
          cacheLocation.getStatsPort(), PATH_STATS);
      return metricsCacheLocation;
    }