org.opengroup.arm40.metric
Interface ArmMetricGauge64

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

public interface ArmMetricGauge64
extends ArmMetric

Implements a 64-bit integer gauge. It is the same as ARM 2.0 metric type=5 (ARM_Gauge64).

Objects implementing this interface are created using ArmMetricFactory.newArmMetricGauge64(org.opengroup.arm40.metric.ArmMetricGauge64Definition).

Author:
ARM Working Group of The Open Group

Method Summary
 long get()
          Gets the gauge value.
 int set(long value)
          Sets the gauge 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 gauge value.

Returns:
the gauge value.

set

int set(long value)
Sets the gauge value.

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