|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@InterfaceAudience.Public @InterfaceStability.Evolving @Documented @Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) public @interface Metric
Annotation interface for a single metric
Optional Element Summary | |
---|---|
String |
about
|
boolean |
always
|
String |
sampleName
|
org.apache.hadoop.metrics2.annotation.Metric.Type |
type
|
String[] |
value
Shorthand for optional name and description |
String |
valueName
|
public abstract String[] value
public abstract String about
public abstract String sampleName
public abstract String valueName
public abstract boolean always
public abstract org.apache.hadoop.metrics2.annotation.Metric.Type type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |