@Override
      public void _setLowMemory(final ScheduledThreadPoolExecutor executor,
          final boolean isLowMemory,
          final long usedBytes,
          final InternalCache cache) {
        if (!isLowMemory) {
          memoryState = HEAP_AVAILABLE;
        }
        // Otherwise, no state change
      }
Run all cancelation tasks. Leave the executor's task queue empty.
geode-core/src/main/java/org/apache/geode/cache/query/internal/QueryMonitor.java