public RegionFactory<K, V> setStatisticsEnabled(boolean statisticsEnabled) {
    attrsFactory.setStatisticsEnabled(statisticsEnabled);
    return this;
  }
Sets whether statistics are enabled for this region and its entries.

@param statisticsEnabled whether statistics are enabled
@return a reference to this RegionFactory object
@see AttributesFactory#setStatisticsEnabled
geode-core/src/main/java/org/apache/geode/cache/RegionFactory.java