private boolean isWorkAvailable ( ) throws SIConnectionDroppedException { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "isWorkAvailable" ) ; final boolean isWork ; if ( terminate ) { isWork = false ; } else { isWork = ( partiallySentTransmission != null ) || ! priorityQueue . isEmpty ( ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "isWorkAvailable" , Boolean . valueOf ( isWork ) ) ; return isWork ; }
Returns true iff there is more work available to be processed .