admin@glassfish.java.net

Re: initial value of lastsampletime

From: Sreenivas Munnangi <Sreenivas.Munnangi_at_Sun.COM>
Date: Thu, 15 Oct 2009 16:33:56 -0700

Jennifer Chou wrote:
> 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.
Yes that is the behavior today. The StatProvider keeps gathering the
data based on probes fired. The data retrieval by CLI happens
independent of this data collection.
>
> 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
>>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>