public boolean isOutOfResources()
    {
        boolean out=getThreads()==getMaxThreads()&&getIdleThreads()==0;
        if (out&&!_lastOut)
            log.warn("OUT OF THREADS: "+this);

        _lastOut=out;
        return out;
    }
public boolean isOutOfResources ( ) { boolean out = getThreads ( ) == getMaxThreads ( ) && getIdleThreads ( ) == 0 ; if ( out && ! _lastOut ) log . warn ( "OUT OF THREADS: " + this ) ; _lastOut = out ; return out ; }
@return True if out of resources.