@Experimental(value=METRICS) 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 |
timestamp() |
abstract long |
value() |
public abstract long value()
public abstract Instant timestamp()
public static GaugeResult create(long value, Instant timestamp)
public static GaugeResult empty()