com.netflix.stats.distribution
Interface DistributionMBean

All Known Subinterfaces:
DataDistributionMBean, HistogramMBean
All Known Implementing Classes:
DataBuffer, DataDistribution, Distribution, Histogram

public interface DistributionMBean

Abstract MBean interface for objects that describe the general characteristics of a distribution of (double) values. This interface supports the standard MBean management interface, so implementing classes will support JMX monitoring.


Method Summary
 void clear()
          Clears out the distribution, resetting it to its initial state.
 double getMaximum()
          Get the maximum value found in the distribution.
 double getMean()
          Get the average value in the distribtion.
 double getMinimum()
          Get the minimum value found in the distribution.
 long getNumValues()
          Get the number of values in the distribution.
 double getStdDev()
          Get the standard deviation of values in the distribution.
 double getVariance()
          Get the variance (the square of the standard deviation) of values in the distribution.
 

Method Detail

clear

void clear()
Clears out the distribution, resetting it to its initial state.


getNumValues

long getNumValues()
Get the number of values in the distribution.


getMean

double getMean()
Get the average value in the distribtion.


getVariance

double getVariance()
Get the variance (the square of the standard deviation) of values in the distribution.


getStdDev

double getStdDev()
Get the standard deviation of values in the distribution.


getMinimum

double getMinimum()
Get the minimum value found in the distribution.


getMaximum

double getMaximum()
Get the maximum value found in the distribution.