public interface TimeGauge extends Gauge
Modifier and Type | Interface and Description |
---|---|
static class |
TimeGauge.Builder<T> |
Meter.Id, Meter.Type
Modifier and Type | Method and Description |
---|---|
static <T> TimeGauge.Builder |
builder(java.lang.String name,
T obj,
java.util.concurrent.TimeUnit fUnits,
java.util.function.ToDoubleFunction<T> f) |
java.util.concurrent.TimeUnit |
getBaseTimeUnit() |
default double |
value(java.util.concurrent.TimeUnit unit) |
java.util.concurrent.TimeUnit getBaseTimeUnit()
default double value(java.util.concurrent.TimeUnit unit)
static <T> TimeGauge.Builder builder(java.lang.String name, T obj, java.util.concurrent.TimeUnit fUnits, java.util.function.ToDoubleFunction<T> f)