protected void checkIfDone() {
    boolean finished = !stillWaiting();
    if (finished) {
      finished();
    }
  }
If this processor is not waiting for any more replies, then the waiting thread will be
notified.
geode-core/src/main/java/org/apache/geode/distributed/internal/ReplyProcessor21.java