protected boolean setLastResultReceived(
      final @Nullable ServerToClientFunctionResultSender resultSender) {

    if (resultSender != null) {
      synchronized (resultSender) {
        if (resultSender.isLastResultReceived()) {
          return false;
        } else {
          resultSender.setLastResultReceived(true);
        }
      }
    }
    return true;
  }
Maximum number of concurrent incoming client messages that a cache server will allow. Once a
server is working on this number additional incoming client messages will wait until one of
them completes or fails.
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/BaseCommand.java