@Override
  public void setCriticalOffHeapPercentage(float offHeapPercentage) {
    getOffHeapMonitor().setCriticalThreshold(offHeapPercentage);
  }
This method is test purposes only.
geode-core/src/main/java/org/apache/geode/internal/cache/control/InternalResourceManager.java