Example usage for Java org.apache.hadoop.metrics2 MetricsRecord fields, constructors, methods, implement or subclass
The text is from its open source code.
String | context() |
String | description() |
Iterable | metrics() Get the metrics of the record |
String | name() |
Collection | tags() Get the tags of the record Note: returning a collection instead of iterable as we need to use tags as keys (hence Collection#hashCode etc.) in maps |
long | timestamp() Get the timestamp of the metrics |