public class ArmMetricGauge64 extends ArmMetric implements ArmMetricGauge64
ARM_Gauge64
).
Objects implementing this interface are created using
ArmMetricFactory.newArmMetricGauge64(org.opengroup.arm40.metric.ArmMetricGauge64Definition)
.Modifier and Type | Field and Description |
---|---|
protected long |
m_gauge |
m_errorCode, m_factory
Constructor and Description |
---|
ArmMetricGauge64(ArmMetricDefinition definition)
Create ARM Metric.
|
Modifier and Type | Method and Description |
---|---|
long |
get()
Gets the gauge value.
|
int |
set(long value)
Sets the gauge value.
|
getDefinition
getErrorCode, getErrorMessage, getFactory, setErrorCode, setFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefinition
getErrorCode, getErrorMessage, setErrorCode
public ArmMetricGauge64(ArmMetricDefinition definition)
definition
- the descriptive metadata (name, units, usage, ID) for the metricpublic long get()
ArmMetricGauge64
get
in interface ArmMetricGauge64
public int set(long value)
ArmMetricGauge64
set
in interface ArmMetricGauge64
value
- new gauge value.ArmInterface
).