org.opengroup.arm40.metric

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

Author: ARM Working Group of The Open Group

Method Summary
longget()
Gets the gauge value.
intset(long value)
Sets the gauge value.

Method Detail

get

public long get()
Gets the gauge value.

Returns: the gauge value.

set

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