public boolean isQFull()
    {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "isQFull");

        boolean qFull = false;
        long totalMessages = getTotalMsgCount();

        if (_destHighMsgs != -1)
        {
            // The queue is clearly full if it has reached capacity     
            qFull = (totalMessages >= _destHighMsgs);
            if (!qFull)
            {
                // If the queue is below capacity, then we need to check whether the
                // wlmRemoved flag has been set. If it has then we need to verify that the
                // message depth has dropped below the low water mark before declaring the
                // queue not full.
                if (_destLowMsgs != -1)
                {
                    if (wlmRemoved)
                        qFull = !(totalMessages < _destLowMsgs);
                }
            }
        }

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "isQFull", Boolean.valueOf(qFull));

        return qFull;
    }
public boolean isQFull ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( tc , "isQFull" ) ; boolean qFull = false ; long totalMessages = getTotalMsgCount ( ) ; if ( _destHighMsgs != - 1 ) { qFull = ( totalMessages >= _destHighMsgs ) ; if ( ! qFull ) { if ( _destLowMsgs != - 1 ) { if ( wlmRemoved ) qFull = ! ( totalMessages < _destLowMsgs ) ; } } } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( tc , "isQFull" , Boolean . valueOf ( qFull ) ) ; return qFull ; }
@return boolean true if this itemstream has reached destinationHighMsgs