public class MetricValue extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MetricValue.Builder<T extends MetricValue.Builder<T>>
Builder (mutable) used to create a new value instances.
|
Modifier | Constructor and Description |
---|---|
protected |
MetricValue(MetricValue.Builder<?> builder) |
Modifier and Type | Method and Description |
---|---|
static MetricValue.Builder<?> |
builder(String uid) |
long |
getCount()
Gets the count that is computed.
|
long |
getDataPoints()
Gets the number of discrete
DataPoint s that were summarized to
produce this value. |
Date |
getFirstPersistDate()
Gets the first persisted date for the metric value.
|
Date |
getLastPersistDate()
Gets the last persisted date for the metric value.
|
long |
getMillisecondsSpan()
Gets the number of milliseconds that the value has spanned over to
get updated
|
MetricDescriptor.Type |
getType()
Gets the metric type name for the metric.
|
String |
getUid()
Gets the metric uid that is used to retrieve values.
|
Date |
getUpdateDate()
Gets the updated date for the metric value.
|
protected MetricValue(MetricValue.Builder<?> builder)
public String getUid()
public long getCount()
public MetricDescriptor.Type getType()
public Date getFirstPersistDate()
public Date getLastPersistDate()
public Date getUpdateDate()
public long getDataPoints()
DataPoint
s that were summarized to
produce this value.public long getMillisecondsSpan()
public static MetricValue.Builder<?> builder(String uid)
Copyright © 2016. All Rights Reserved.