void runWithNotifyExecutor(Runnable runnable) {
    try {
      notifyExecutor.execute(runnable);
    } catch (RejectedExecutionException ignore) {
      if (!closed) {
        logger.warn("No memory events will be delivered because of RejectedExecutionException");
      }
    }
  }
Use threshold event processor to execute the event embedded in the runnable.

@param runnable Runnable to execute.
geode-core/src/main/java/org/apache/geode/internal/cache/control/InternalResourceManager.java