com.neeve.server.controller
Class SrvController.IntSeriesCollector

java.lang.Object
  extended by com.neeve.server.controller.SrvController.IntSeriesCollector
All Implemented Interfaces:
IStats.Series.Collector
Enclosing class:
SrvController

public static final class SrvController.IntSeriesCollector
extends Object
implements IStats.Series.Collector

Collects timings stats for a IStats.Series stat.

Intended For Internal Use Only


Constructor Summary
SrvController.IntSeriesCollector(IStats.Series series, cern.colt.list.DoubleArrayList tempArray, boolean collectRaw, int maxTrackableValue)
           
 
Method Summary
 void add(long sequenceNumber, double value)
          Callback to add a collected value.
 SrvMonIntSeries collect(SrvController.IntHistogramComputer intervalCollector)
           
 void report(double[] values, int offset, int length)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SrvController.IntSeriesCollector

public SrvController.IntSeriesCollector(IStats.Series series,
                                        cern.colt.list.DoubleArrayList tempArray,
                                        boolean collectRaw,
                                        int maxTrackableValue)
Parameters:
series - The Latencies being tracked.
Method Detail

reset

public final void reset()

collect

public SrvMonIntSeries collect(SrvController.IntHistogramComputer intervalCollector)

report

public void report(double[] values,
                   int offset,
                   int length)

add

public void add(long sequenceNumber,
                double value)
Description copied from interface: IStats.Series.Collector
Callback to add a collected value.

Specified by:
add in interface IStats.Series.Collector


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.