public static boolean removeCacheLifecycleListener(CacheLifecycleListener listener) {
    synchronized (GemFireCacheImpl.class) {
      return cacheLifecycleListeners.remove(listener);
    }
  }
Remove the {@code CacheLifecycleListener}.

@return true if the listener was removed
geode-core/src/main/java/org/apache/geode/internal/cache/GemFireCacheImpl.java