question: public int availableInProcess ( ) { return Math . max ( 0 , maxInProcess - pending . size ( ) ) ; }
target:  A connection can only have so many things in process happening on it at once, where "in process" refers to the maximum number of in-process requests less the number of pending responses.