Esempio n. 1
0
        public override object GetValue(int pollerIndex)
        {
            Datapoint dp          = count.poll(pollerIndex);
            double    stepSeconds = Pollers.POLLING_INTERVALS[pollerIndex] / 1000.0;

            return(dp.isUnknown() ? Double.NaN : dp.getValue() / stepSeconds);
        }
Esempio n. 2
0
 public override long GetValue(int pollerIndex)
 {
     return(max.poll(pollerIndex).getValue());
 }