| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@InterfaceAudience.Public @InterfaceStability.Evolving public interface MetricsRecord
An immutable snapshot of metrics with a timestamp
| Method Summary | |
|---|---|
 String | 
context()
 | 
 String | 
description()
 | 
 Iterable<AbstractMetric> | 
metrics()
Get the metrics of the record  | 
 String | 
name()
 | 
 Collection<MetricsTag> | 
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  | 
| Method Detail | 
|---|
long timestamp()
String name()
String description()
String context()
Collection<MetricsTag> tags()
Iterable<AbstractMetric> metrics()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||