@InterfaceAudience.Public @InterfaceStability.Evolving public class Interns extends Object
Constructor and Description |
---|
Interns() |
Modifier and Type | Method and Description |
---|---|
static MetricsInfo |
info(String name,
String description)
Get a metric info object.
|
static MetricsTag |
tag(MetricsInfo info,
String value)
Get a metrics tag.
|
static MetricsTag |
tag(String name,
String description,
String value)
Get a metrics tag.
|
public static MetricsInfo info(String name, String description)
name
- Name of metric info objectdescription
- Description of metric info objectpublic static MetricsTag tag(MetricsInfo info, String value)
info
- of the tagvalue
- of the tagpublic static MetricsTag tag(String name, String description, String value)
name
- of the tagdescription
- of the tagvalue
- of the tagCopyright © 2023 Apache Software Foundation. All rights reserved.