Gauge

public interface Gauge<T> extends Metric

Represents a metric that returns a value.

Parameters:
  • <T> – the type of the returned value

Methods

getValue

T getValue()

Get the current value.

Returns:the metric’s current value