public class ArmMetricGaugeFloat32 extends ArmMetric implements ArmMetricGaugeFloat32
ARM_GaugeDivr32). Instead of providing two integer values that
can be divided to produce a floating-point value, which is what was done in
the C bindings for ARM 2.0 and ARM 4.0, a floating-point value is provided
directly.
Objects implementing this interface are created using
ArmMetricFactory.newArmMetricGaugeFloat32(org.opengroup.arm40.metric.ArmMetricGaugeFloat32Definition).| Modifier and Type | Field and Description |
|---|---|
protected float |
m_gauge |
m_errorCode, m_factory| Constructor and Description |
|---|
ArmMetricGaugeFloat32(ArmMetricDefinition definition)
Create ARM Metric.
|
| Modifier and Type | Method and Description |
|---|---|
float |
get()
Gets the gauge value.
|
int |
set(float value)
Sets the gauge value.
|
getDefinitiongetErrorCode, getErrorMessage, getFactory, setErrorCode, setFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefinitiongetErrorCode, getErrorMessage, setErrorCodepublic ArmMetricGaugeFloat32(ArmMetricDefinition definition)
definition - the descriptive metadata (name, units, usage, ID) for the metricpublic float get()
ArmMetricGaugeFloat32get in interface ArmMetricGaugeFloat32public int set(float value)
ArmMetricGaugeFloat32set in interface ArmMetricGaugeFloat32value - new gauge value.ArmInterface).