public abstract class GaugeResult
extends java.lang.Object
Gauge
metric.Modifier and Type | Class and Description |
---|---|
static class |
GaugeResult.EmptyGaugeResult
Empty
GaugeResult , representing no values reported. |
Constructor and Description |
---|
GaugeResult() |
Modifier and Type | Method and Description |
---|---|
static GaugeResult |
create(long value,
Instant timestamp) |
static GaugeResult |
empty() |
abstract Instant |
getTimestamp() |
abstract long |
getValue() |
public abstract long getValue()
public abstract Instant getTimestamp()
public static GaugeResult create(long value, Instant timestamp)
public static GaugeResult empty()