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