code: public int getMaxQueuedConnections() {
  	return getThreadPool() == null ? -1 :
  	    ((getThreadPool().getQueue() instanceof ArrayBlockingQueue) ?
  	     ((ArrayBlockingQueue)getThreadPool().getQueue()).size() +
  	     ((ArrayBlockingQueue)getThreadPool().getQueue()).remainingCapacity() : -1);	     
      }
docs: this should only be used as an estimate