org.apache.hadoop.metrics2.util
Class MetricQuantile

java.lang.Object
  extended by org.apache.hadoop.metrics2.util.MetricQuantile

@InterfaceAudience.Private
public class MetricQuantile
extends Object

Specifies a quantile (with error bounds) to be watched by a MetricSampleQuantiles object.


Field Summary
 double error
           
 double quantile
           
 
Constructor Summary
MetricQuantile(double quantile, double error)
           
 
Method Summary
 boolean equals(Object aThat)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

quantile

public final double quantile

error

public final double error
Constructor Detail

MetricQuantile

public MetricQuantile(double quantile,
                      double error)
Method Detail

equals

public boolean equals(Object aThat)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2015 The Apache Software Foundation. All rights reserved.