@Override
  public Statistics createOsStatistics(StatisticsType type, String textId, long numericId,
      int osStatFlags) {
    long myUniqueId;
    synchronized (statsListUniqueIdLock) {
      myUniqueId = statsListUniqueId++; // fix for bug 30597
    }
    Statistics result =
        new LocalStatisticsImpl(type, textId, numericId, myUniqueId, false, osStatFlags, this);
    synchronized (statsList) {
      statsList.add(result);
      statsListModCount++;
    }
    return result;
  }
An abstract standalone implementation of {@link StatisticsFactory}. It can be used in contexts
that do not have the GemFire product or in vm's that do not have a distributed system nor a
gemfire connection.

@since GemFire 7.0
geode-core/src/main/java/org/apache/geode/internal/statistics/AbstractStatisticsFactory.java