public class TestGauge
extends java.lang.Object
implements com.netflix.spectator.api.Gauge
Constructor and Description |
---|
TestGauge(com.netflix.spectator.api.Id id) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasExpired() |
com.netflix.spectator.api.Id |
id() |
java.lang.Iterable<com.netflix.spectator.api.Measurement> |
measure() |
void |
set(double v) |
double |
value() |
public boolean hasExpired()
hasExpired
in interface com.netflix.spectator.api.Meter
public com.netflix.spectator.api.Id id()
id
in interface com.netflix.spectator.api.Meter
public java.lang.Iterable<com.netflix.spectator.api.Measurement> measure()
measure
in interface com.netflix.spectator.api.Meter
public void set(double v)
set
in interface com.netflix.spectator.api.Gauge
public double value()
value
in interface com.netflix.spectator.api.Gauge
Copyright © 2021. All Rights Reserved.