public class ArmMetricGauge32 extends ArmMetric implements ArmMetricGauge32
ARM_Gauge32
).
Objects implementing this interface are created using
ArmMetricFactory.newArmMetricGauge32(org.opengroup.arm40.metric.ArmMetricGauge32Definition)
.Modifier and Type | Field and Description |
---|---|
protected int |
m_gauge |
m_errorCode, m_factory
Constructor and Description |
---|
ArmMetricGauge32(ArmMetricDefinition definition)
Create ARM Metric.
|
Modifier and Type | Method and Description |
---|---|
int |
get()
Gets the gauge value.
|
int |
set(int 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 ArmMetricGauge32(ArmMetricDefinition definition)
definition
- the descriptive metadata (name, units, usage, ID) for the metricpublic int get()
ArmMetricGauge32
get
in interface ArmMetricGauge32
public int set(int value)
ArmMetricGauge32
set
in interface ArmMetricGauge32
value
- new gauge value.ArmInterface
).