public class MetricUpdate extends Object
TimeStampedMetric
object specified by the metric identifier.Modifier and Type | Field and Description |
---|---|
static String |
DECREMENT |
static String |
DENOMINATOR |
static String |
INCREMENT |
static String |
INT_VALUE |
static String |
MARK |
static String |
NUMERATOR |
static String |
TIME_UNIT |
static String |
TYPE |
static String |
VALUE |
Constructor and Description |
---|
MetricUpdate(String uid) |
Modifier and Type | Method and Description |
---|---|
Long |
getDecrement()
Gets the decrement count to be updated by
TimeStampedMetric . |
Long |
getDenominator()
Gets the denominator value to be updated by
TimeStampedMetric . |
Long |
getIncrement()
Gets the increment count to be updated by
TimeStampedMetric . |
Integer |
getIntegerValue()
Gets the integer value that is updated by
TimeStampedMetric . |
Long |
getMark()
Gets the mark value to be updated by
TimeStampedMetric . |
Long |
getNumerator()
Gets the numerator value to be updated by
TimeStampedMetric . |
String |
getTimeUnit()
Gets the time unit value to be updated by
TimeStampedMetric . |
String |
getType()
Gets the custom type name that is used with the value to be updated
by
TimeStampedMetric . |
String |
getUid()
Gets the metric uid that is used to retrieve
TimeStampedMetric . |
Long |
getValue()
Gets the value that is updated by
TimeStampedMetric . |
void |
setDecrement(Long toSet)
Sets the decrement value of the
TimeStampedMetric . |
void |
setDenominator(Long toSet)
Sets the denominator value to be updated by
TimeStampedMetric . |
void |
setIncrement(Long toSet)
Sets the increment value of the
TimeStampedMetric . |
void |
setIntegerValue(Integer toSet)
Sets the integer metric value of the
TimeStampedMetric . |
void |
setMark(Long toSet)
Sets the mark value to be updated by
TimeStampedMetric . |
void |
setNumerator(Long toSet)
Sets the numerator value of the
TimeStampedMetric . |
void |
setTimeUnit(String toSet)
Sets the mark value to be updated by
TimeStampedMetric . |
void |
setType(String toSet)
Sets the custom type name of the
TimeStampedMetric . |
void |
setValue(Long toSet)
Sets the metric value of the
TimeStampedMetric . |
public static final String VALUE
public static final String INT_VALUE
public static final String DECREMENT
public static final String INCREMENT
public static final String NUMERATOR
public static final String DENOMINATOR
public static final String MARK
public static final String TYPE
public static final String TIME_UNIT
public MetricUpdate(String uid)
public String getUid()
TimeStampedMetric
.public Long getValue()
TimeStampedMetric
.public void setValue(Long toSet)
TimeStampedMetric
.toSet
- metric valuepublic Integer getIntegerValue()
TimeStampedMetric
.public void setIntegerValue(Integer toSet)
TimeStampedMetric
.toSet
- metric value as Integerpublic String getType()
TimeStampedMetric
.public void setType(String toSet)
TimeStampedMetric
.toSet
- the custom type namepublic Long getDecrement()
TimeStampedMetric
.public void setDecrement(Long toSet)
TimeStampedMetric
.toSet
- the decrement valuepublic Long getIncrement()
TimeStampedMetric
.public void setIncrement(Long toSet)
TimeStampedMetric
.toSet
- the increment valuepublic Long getNumerator()
TimeStampedMetric
.public void setNumerator(Long toSet)
TimeStampedMetric
.toSet
- the numerator valuepublic Long getDenominator()
TimeStampedMetric
.public void setDenominator(Long toSet)
TimeStampedMetric
.toSet
- the denominator valuepublic Long getMark()
TimeStampedMetric
.public void setMark(Long toSet)
TimeStampedMetric
.toSet
- the mark valuepublic String getTimeUnit()
TimeStampedMetric
.public void setTimeUnit(String toSet)
TimeStampedMetric
.toSet
- the mark valueCopyright © 2015. All Rights Reserved.