org.opengroup.arm40.metric
Interface ArmMetricGauge32

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

public interface ArmMetricGauge32
extends ArmMetric

Implements a 32-bit integer gauge. It is the same as ARM 2.0 metric type=4 (ARM_Gauge32).

Objects implementing this interface are created using ArmMetricFactory.newArmMetricGauge32(org.opengroup.arm40.metric.ArmMetricGauge32Definition).

Author:
ARM Working Group of The Open Group

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

int get()
Gets the gauge value.

Returns:
the gauge value.

set

int set(int 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).