public class NumericMetric2 extends Metric<NumericData>
| Constructor and Description |
|---|
NumericMetric2(String tenantId,
MetricId id) |
NumericMetric2(String tenantId,
MetricId id,
Map<String,String> metadata) |
| Modifier and Type | Method and Description |
|---|---|
void |
addData(long timestamp,
double value) |
void |
addData(UUID timeUUID,
double value) |
void |
addData(UUID timeUUID,
double value,
Set<Tag> tags) |
MetricType |
getType() |
addData, equals, getData, getDpart, getId, getMetadata, getTenantId, hashCode, setAttribute, setDpart, setId, setMetadata, setTenantId, toStringpublic MetricType getType()
getType in class Metric<NumericData>public void addData(long timestamp,
double value)
public void addData(UUID timeUUID, double value)
Copyright © 2014 Red Hat, Inc.. All rights reserved.