private void checkCacheClosed() {
    if (cache.isClosed()) {
      throw cache.getCacheClosedException(null, null);
    }
  }
Called when the cache is closed. Behaves just like a Region.close except the operation is
CACHE_CLOSE
geode-core/src/main/java/org/apache/geode/internal/cache/LocalRegion.java