|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.arm4.arm40.transaction.ArmInterface
org.arm4.arm40.metric.ArmMetric
org.arm4.arm40.metric.ArmMetricCounter32
public class ArmMetricCounter32
Implements a 32-bit integer counter.
It is the same as ARM 2.0 metric type=1 (ARM_Counter32).
ArmMetricFactory.newArmMetricCounter32(org.opengroup.arm40.metric.ArmMetricCounter32Definition).
| Field Summary | |
|---|---|
protected int |
m_counter
|
| Fields inherited from class org.arm4.arm40.transaction.ArmInterface |
|---|
m_errorCode, m_factory |
| Constructor Summary | |
|---|---|
ArmMetricCounter32(ArmMetricDefinition definition)
Create ARM Metric. |
|
| Method Summary | |
|---|---|
int |
get()
Gets the counter value. |
int |
set(int value)
Sets the counter value. |
| Methods inherited from class org.arm4.arm40.metric.ArmMetric |
|---|
getDefinition |
| Methods inherited from class org.arm4.arm40.transaction.ArmInterface |
|---|
getErrorCode, getErrorMessage, getFactory, setErrorCode, setFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opengroup.arm40.metric.ArmMetric |
|---|
getDefinition |
| Methods inherited from interface org.opengroup.arm40.transaction.ArmInterface |
|---|
getErrorCode, getErrorMessage, setErrorCode |
| Field Detail |
|---|
protected int m_counter
| Constructor Detail |
|---|
public ArmMetricCounter32(ArmMetricDefinition definition)
definition - the descriptive metadata (name, units, usage, ID) for the metric| Method Detail |
|---|
public int get()
ArmMetricCounter32
get in interface ArmMetricCounter32public int set(int value)
ArmMetricCounter32
set in interface ArmMetricCounter32value - new counter value.
ArmInterface).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||