org.opengroup.arm40.metric
Interface ArmMetricCounter64

All Superinterfaces:
ArmInterface, ArmMetric
All Known Implementing Classes:
ArmMetricCounter64

public interface ArmMetricCounter64
extends ArmMetric

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.newArmMetricCounter64(org.opengroup.arm40.metric.ArmMetricCounter64Definition).

Author:
ARM Working Group of The Open Group

Method Summary
 long get()
          Gets the counter value.
 int set(long value)
          Sets the counter value.
 
Methods inherited from interface org.opengroup.arm40.metric.ArmMetric
getDefinition
 
Methods inherited from interface org.opengroup.arm40.transaction.ArmInterface
getErrorCode, getErrorMessage, setErrorCode
 

Method Detail

get

long get()
Gets the counter value.

Returns:
the counter value.

set

int set(long value)
Sets the counter value.

Parameters:
value - new counter value.
Returns:
0 on sucess; otherwise, a non-zero error code is returned (as specified in ArmInterface).