Sankar Neelakandan wrote:
>
>
> Bill Shannon wrote:
>> So the get command itself doesn't cause a sample to be taken?
> It does sample the values when the get command is run.
> For example when a webapp is deployed and the servlet in the webapp is
> never accessed its requestcount stat will be 0 as initialized by the
> webcontainer when monitoring is enabled.
> So you execute the get command , the command goes and "actually"
> reads/samples the stats value as 0 and compares its value against the
> initial value (again 0). Since it was never changed the lastsampletime
> is printed as -1
No change doesn't mean no sample.
> My point is that when a sample is taken whether it is the initial value
> or changed value, the lastsampletime should be the time when get command
> is run.
That sounds right to me.
Jennifer, tell us again why you thought it should be changed?