com.yammer.metrics.core
Interface Percentiled

All Known Implementing Classes:
HistogramMetric, TimerMetric

public interface Percentiled


Method Summary
 double percentile(double percentile)
          Returns the duration at the given percentile.
 Double[] percentiles(Double... percentiles)
          Returns an array of durations at the given percentiles.
 

Method Detail

percentile

double percentile(double percentile)
Returns the duration at the given percentile.

Parameters:
percentile - a percentile (0..1)
Returns:
the duration at the given percentile

percentiles

Double[] percentiles(Double... percentiles)
Returns an array of durations at the given percentiles.

Parameters:
percentiles - one or more percentiles (0..1)
Returns:
an array of durations at the given percentiles


Copyright © 2011. All Rights Reserved.