Package | Description |
---|---|
org.ballerinalang.util.metrics | |
org.ballerinalang.util.metrics.noop |
Modifier and Type | Interface and Description |
---|---|
static interface |
Metric.Builder<B extends Metric.Builder<B,M>,M extends Metric>
Builder for metrics.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Counter
A monotonically increasing counter metric.
|
interface |
Gauge
Gauge is used to track a value that goes up and down.
|
interface |
PolledGauge
Gauge to report instantaneous values by using a callback function.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractMetric
Abstract Metric class with
MetricId to implement AbstractMetric.hashCode() and AbstractMetric.equals(Object) for
all Metric s. |
Modifier and Type | Method and Description |
---|---|
Metric[] |
MetricRegistry.getAllMetrics() |
Metric |
MetricRegistry.lookup(MetricId metricId) |
Metric |
Metric.register()
Registers the metric with Metric registry.
|
Modifier and Type | Class and Description |
---|---|
class |
NoOpCounter
Implementation of No-Op
Counter . |
class |
NoOpGauge
Implementation of No-Op
Gauge . |
class |
NoOpPolledGauge
Implementation of No-Op
PolledGauge . |
Copyright © 2018 WSO2. All rights reserved.