org.arm4.arm40.metric

Class ArmMetricCounter64

public class ArmMetricCounter64 extends ArmMetric implements ArmMetricCounter64

Implements a 64-bit integer counter. It is the same as ARM 2.0 metric type=2 (ARM_Counter64).

Objects implementing this interface are created using ArmMetricFactory.

Version: $Revision$ $Date$

Author: dcarter

Field Summary
protected longm_counter
Constructor Summary
ArmMetricCounter64(ArmMetricDefinition definition)
Create ARM Metric.
Method Summary
longget()
intset(long value)

Field Detail

m_counter

protected long m_counter

Constructor Detail

ArmMetricCounter64

public ArmMetricCounter64(ArmMetricDefinition definition)
Create ARM Metric.

Parameters: definition the descriptive metadata (name, units, usage, ID) for the metric

Method Detail

get

public long get()

set

public int set(long value)