public int getConsumerCount ( ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . entry ( this , tc , "getConsumerCount" ) ; int consumerCount = syncConsumers . size ( ) ; consumerCount += asyncConsumers . size ( ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEntryEnabled ( ) ) SibTr . exit ( this , tc , "getConsumerCount" , consumerCount ) ; return consumerCount ; }
Return a count of the number of Consumers currently open on this Session .