private void doNotify() {
      synchronized (this) {
        notified = true;
        notifyAll();
      }
    }
Support for waiters of register interest. Only one thread at most ever calls wait.

@since GemFire 5.7
geode-core/src/main/java/org/apache/geode/internal/cache/GemFireCacheImpl.java