Package | Description |
---|---|
org.ballerinalang.util.metrics | |
org.ballerinalang.util.metrics.noop | |
org.ballerinalang.util.metrics.spi |
Modifier and Type | Method and Description |
---|---|
PolledGauge |
PolledGauge.Builder.build() |
<T> PolledGauge |
MetricRegistry.polledGauge(MetricId id,
T obj,
ToDoubleFunction<T> valueFunction)
|
default PolledGauge |
PolledGauge.register()
Default implementation for register polled gauge.
|
PolledGauge |
PolledGauge.Builder.register() |
PolledGauge |
PolledGauge.Builder.register(MetricRegistry registry) |
PolledGauge |
MetricRegistry.register(PolledGauge gauge)
Registers the polled gauge metrics instance.
|
Modifier and Type | Method and Description |
---|---|
PolledGauge |
MetricRegistry.register(PolledGauge gauge)
Registers the polled gauge metrics instance.
|
void |
MetricRegistry.unregister(PolledGauge gauge)
Unregisters the polled gauge metrics instance.
|
Modifier and Type | Class and Description |
---|---|
class |
NoOpPolledGauge
Implementation of No-Op
PolledGauge . |
Modifier and Type | Method and Description |
---|---|
<T> PolledGauge |
NoOpMetricProvider.newPolledGauge(MetricId metricId,
T obj,
ToDoubleFunction<T> toDoubleFunction) |
Modifier and Type | Method and Description |
---|---|
<T> PolledGauge |
MetricProvider.newPolledGauge(MetricId metricId,
T obj,
ToDoubleFunction<T> toDoubleFunction)
This returns the new instance of the Polled Gauge metric.
|
Copyright © 2018 WSO2. All rights reserved.