-
1. Re: Pageable channels complete
alexfu.novell Mar 6, 2006 12:33 PM (in response to timfox)Tim do you want me to add R/W jmx attributes for fullsize, pagesize and downcachesize? Or, since they will be eventually self-tuned, you only want them to be ReadOnly?
Please let me know because the former will require a few changes in DestinationServiceSupport and ChannelMapper.
Thanks. -
2. Re: Pageable channels complete
timfox Mar 6, 2006 12:40 PM (in response to timfox)Yes, please add them as R/W MBean attributes, defaulting to the current values.
Thanks -
3. Re: Pageable channels complete
alexfu.novell Mar 6, 2006 12:42 PM (in response to timfox)Also, the total messages in a channel should be messageref.size +
downcache.size +
pm.sizefor(channelID) +
deliveries.size
But some reliable msgs could be duplicated in both messageref and pm. So I need to filter out those duplicated ones plus those received from uncommitted tx. Am I right?
Thanks -
4. Re: Pageable channels complete
timfox Mar 6, 2006 12:54 PM (in response to timfox)totalMessages in channel = messagerefs.size + deliveries.size() + refsInStorage
no need to call the pm
refsInStorage already contains those in the downCache
no need to worry about tx -
5. Re: Pageable channels complete
alexfu.novell Mar 6, 2006 1:11 PM (in response to timfox)Right. I ignored refsInStorage when looking at your changes :)
Another issue:
For subscriptions, do we have MBean to manage them so that I can add the three new parameters? Or we don't have one yet?
Thanks. -
6. Re: Pageable channels complete
timfox Mar 6, 2006 1:20 PM (in response to timfox)For subscriptions, I guess the values should be specified as MBean attributes on the corresponding topic to which the subscriptions subscribe.
So the 3 attributes exist on both the Topic and the Queue Mbeans. -
7. Re: Pageable channels complete
alexfu.novell Mar 6, 2006 3:59 PM (in response to timfox)That's good.
Changes to those attributes will only take effect after restarting the destinations.