protected boolean isEmpty ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "isEmpty" ) ; boolean result ; synchronized ( this ) { synchronized ( connectionData ) { result = connectionData . isEmpty ( ) ; } result = result && ( connectAttemptsPending == 0 ) ; } if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "isEmpty" , "" + result ) ; return result ; }
Determines if this group is empty . For the group to be empty it must contain no connection data objects and have no connection attempts pending . This second criteria stops the group from being discarded between selection for establishing a new conversation and actually establishing the conversation .