org.opengroup.arm40.metric

Interface 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.

Author: ARM Working Group of The Open Group

Method Summary
intget()
Gets the gauge value.
intset(int value)
Sets the gauge value.

Method Detail

get

public int get()
Gets the gauge value.

Returns: the gauge value.

set

public 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).