Package | Description |
---|---|
org.forgerock.monitoring.api.instrument |
Common Monitoring API Core based on MicroMeter
|
Modifier and Type | Method and Description |
---|---|
Gauge.Builder<T> |
Gauge.Builder.baseUnit(String unit) |
static <T> Gauge.Builder<T> |
Gauge.builder(String name,
T obj,
ToDoubleFunction<T> f)
Setup a
Gauge.Builder that will create a gauge that reports the value returned by the provided function. |
static <T extends Number> |
Gauge.constantGauge(String name,
T number)
Setup a
Gauge.Builder that will create a gauge that reports the value of the Number . |
Gauge.Builder<T> |
Gauge.Builder.description(String description) |
static <T> Gauge.Builder<T> |
Gauge.doubleGauge(String name,
DoubleSupplier valueFunction)
Setup a
Gauge.Builder that will create a gauge that reports the size of the Map . |
static <T extends Collection<?>> |
Gauge.gaugeCollectionSize(String name,
T collection)
Setup a
Gauge.Builder that will create a gauge that reports the size of the Collection . |
static <T extends Map<?,?>> |
Gauge.gaugeMapSize(String name,
T map)
Setup a
Gauge.Builder that will create a gauge that reports the size of the Map . |
Gauge.Builder |
Gauge.Builder.hierarchicalName(String hierarchicalName) |
Gauge.Builder<T> |
Gauge.Builder.tag(String key,
String value) |
Gauge.Builder<T> |
Gauge.Builder.tags(Iterable<Tag> tags) |
Gauge.Builder<T> |
Gauge.Builder.tags(String... tags) |
Copyright 2011-2017 ForgeRock AS.