This content has been marked as final. Show 2 replies
There doesn't seem to be anything wrong with your snippet of code.
What long value are using for the avg?
Does this happen only with a single app, or for all apps?
Is it possible for you to file a bug (with the app)?
It took me a while but I think I can give you a good example that shows when it's not working:
In the CEP Labs there are 7 labs ( tutorials) - "JMS Sample " "EPN Editor " ,"103-CQL-Processor" .. etc .
If you take the " JMS Sample " , and use the load_ genertao as it said in the tutorial itself , than , when you run it a lot of times ( more than 10 times ) you will see that the number of the thghruput is reducing ( after the 10th or 15th time ) .once it does , the number drpos down dramatically each time you disconnect and reconnect to the mbean server .
I found it out when my EPN included a lot of stages , and in these cases ( a lot of stagec) , it takes a short time to notice it.
because you wanted a simple example , It took me a while to notice it - in the begigning I thoght that it happens only with " completcated" EPN
( many stages ), but finally i can say that it does in each senario.