public static Cache getInstanceCloseOk(DistributedSystem system) {
    return basicGetInstance(system, true);
  }
@throws CacheClosedException if a cache has not been created
geode-core/src/main/java/org/apache/geode/internal/cache/CacheFactoryStatics.java