- Enclosing interface:
Meter
public static interface Meter.Id
Unique idenfier for a meter.
-
Method Summary
-
Method Details
-
name
String name()Returns the meter name.- Returns:
- meter name
-
tags
Returns the tags which further identify the meter.- Returns:
- meter tags
-
tagsMap
Return the tags as a map.- Returns:
- map of tag keys to values
-
unwrap
Unwraps the ID as the specified type.- Type Parameters:
R
- type to cast to- Parameters:
c
-Class
to which to cast this ID- Returns:
- the ID cast as the requested type
-