public class Metric<T> extends Object
| Constructor and Description |
|---|
Metric(MetricId<T> id) |
Metric(MetricId<T> id,
Integer dataRetention) |
Metric(MetricId<T> id,
List<DataPoint<T>> dataPoints) |
Metric(MetricId<T> id,
List<DataPoint<T>> dataPoints,
Integer dataRetention) |
Metric(MetricId<T> id,
Map<String,String> tags,
Integer dataRetention) |
Metric(MetricId<T> id,
Map<String,String> tags,
Integer dataRetention,
List<DataPoint<T>> dataPoints) |
Metric(String id,
Map<String,String> tags,
Integer dataRetention,
MetricType<T> type,
List<DataPoint<T>> data) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<DataPoint<T>> |
getDataPoints() |
Integer |
getDataRetention() |
String |
getId() |
MetricId<T> |
getMetricId() |
Map<String,String> |
getTags() |
String |
getTenantId() |
MetricType<T> |
getType() |
int |
hashCode() |
String |
toString() |
public Metric(String id, Map<String,String> tags, Integer dataRetention, MetricType<T> type, List<DataPoint<T>> data)
public String getId()
public String getTenantId()
public MetricType<T> getType()
public Integer getDataRetention()
Copyright © 2014–2016 Red Hat, Inc.. All rights reserved.