public static Cache getInstance(DistributedSystem system) {
    return CacheFactoryStatics.getInstance(system);
  }
Gets the instance of {@link Cache} produced by an earlier call to {@link #create()}.

@param system the {@code DistributedSystem} the cache was created with.
@return the {@link Cache} associated with the specified system.
@throws CacheClosedException if a cache has not been created or the created one is
        {@link Cache#isClosed closed}
geode-core/src/main/java/org/apache/geode/cache/CacheFactory.java