Package org.glassfish.gmbal.impl
Class TimerAnnotationHelper.ManagedStatistics
java.lang.Object
org.glassfish.pfl.tf.timer.spi.Statistics
org.glassfish.gmbal.impl.TimerAnnotationHelper.ManagedStatistics
- Enclosing class:
TimerAnnotationHelper
@ManagedData
@Description("Statistics recorded for a series of time intervals")
public class TimerAnnotationHelper.ManagedStatistics
extends Statistics
-
Constructor Summary
ConstructorsConstructorDescriptionManagedStatistics(long count, double min, double max, double average, double standardDeviation) -
Method Summary
Modifier and TypeMethodDescriptiondoubleaverage()Return the current average of the data, or -1 if there is no data.longcount()Return the number of data points recorded.doublemax()Return the maximum value of call data points records.doublemin()Return the minimum value of call data points records.doubleReturn the standard deviation of the data, or -1 if there is no data.Methods inherited from class org.glassfish.pfl.tf.timer.spi.Statistics
equals, hashCode
-
Constructor Details
-
ManagedStatistics
public ManagedStatistics(long count, double min, double max, double average, double standardDeviation)
-
-
Method Details
-
count
Description copied from class:StatisticsReturn the number of data points recorded.- Overrides:
countin classStatistics
-
min
Description copied from class:StatisticsReturn the minimum value of call data points records.- Overrides:
minin classStatistics
-
max
Description copied from class:StatisticsReturn the maximum value of call data points records.- Overrides:
maxin classStatistics
-
average
Description copied from class:StatisticsReturn the current average of the data, or -1 if there is no data.- Overrides:
averagein classStatistics
-
standardDeviation
@ManagedAttribute @Description("Standard deviation of all durations recorded") public double standardDeviation()Description copied from class:StatisticsReturn the standard deviation of the data, or -1 if there is no data.- Overrides:
standardDeviationin classStatistics
-