@Override
  public void endLocatorResponse(long startTime) {
    long took = DistributionStats.getStatTime() - startTime;
    if (_stats == null) {
      responses_from_locator.incrementAndGet();
      if (took > 0) {
        responseTime.getAndAdd(took);
      }
    } else {
      _stats.incLong(_RESPONSES_FROM_LOCATOR, 1);
      if (took > 0) {
        _stats.incLong(_RESPONSE_TIME, took);
      }
    }
  }
Called when the DS comes online so we can hookup the stats
geode-core/src/main/java/org/apache/geode/distributed/internal/LocatorStats.java