public abstract class Metric extends Object
Constructor and Description |
---|
Metric() |
Modifier and Type | Method and Description |
---|---|
static Metric |
create(List<MetricData> data,
String id,
MetricName name,
String type,
String unit) |
abstract List<MetricData> |
data() |
abstract String |
id() |
abstract MetricName |
name() |
abstract String |
type() |
abstract String |
unit() |
public abstract List<MetricData> data()
public abstract String id()
@Nullable public abstract MetricName name()
public abstract String type()
public abstract String unit()
public static Metric create(List<MetricData> data, String id, MetricName name, String type, String unit)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.