private void checkEventQueueSize(List<HealthStatus> status) {
    if (cacheStats == null || isFirstEvaluation() || cacheStats.isClosed()) {
      return;
    }

    long eventQueueSize = cacheStats.getEventQueueSize();
    long threshold = config.getMaxEventQueueSize();
    if (eventQueueSize > threshold) {
      String s =
          String.format("The size of the cache event queue (%s ms) exceeds the threshold (%s ms)",
              eventQueueSize, threshold);
      status.add(okayHealth(s));
    }
  }
Checks to make sure that the {@linkplain CachePerfStats#getEventQueueSize cache event queue
size} does not exceed the {@linkplain CacheHealthConfig#getMaxEventQueueSize threshold}. If it
does, the status is "okay" health.
geode-core/src/main/java/org/apache/geode/admin/internal/CacheHealthEvaluator.java