admin@glassfish.java.net

Re: initial value of lastsampletime

From: Jennifer Chou <Jennifer.Chou_at_Sun.COM>
Date: Fri, 16 Oct 2009 00:05:05 +0100

That's not how I think of it. I think of get as retrieving statistics
at a point in time after some samples have been taken for a stat.
And the samples being taken even when there is nobody retrieving the
stat via get - when a probe is fired and then a listener collects the
data for a stat.

Bill Shannon wrote:
> Is "get" causing the sample to be taken or not? That seems to be the
> issue here.
>
> Lloyd Chambers wrote:
>> NO, 'lastSampleTime' should be the time the sample was taken/measured.
>>
>> On Oct 15, 2009, at 1:57 PM, Bill Shannon wrote:
>>
>>>> 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?
>>
>> Lloyd Chambers
>> lloyd.chambers_at_sun.com
>> GlassFish Team
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>>
>