public abstract class Metric extends Object
限定符和类型 | 字段和说明 |
---|---|
static String |
NO_DESCRIPTION |
构造器和说明 |
---|
Metric(String name)
Construct the metric with name only
|
Metric(String name,
String desc)
Construct the metric with a name and a description
|
public Metric(String name)
name
- of the metricpublic String name()
public String description()
public abstract Number value()
public abstract void visit(MetricsVisitor visitor)
visitor
- of the metricCopyright © 2009 The Apache Software Foundation