Package | Description |
---|---|
org.ballerinalang.util.metrics | |
org.ballerinalang.util.metrics.noop | |
org.ballerinalang.util.metrics.spi |
Modifier and Type | Method and Description |
---|---|
Counter |
Counter.Builder.build() |
Counter |
MetricRegistry.counter(MetricId id)
Use
builder(String) . |
default Counter |
Counter.register()
Register the Metric to the registry.
|
Counter |
Counter.Builder.register() |
Counter |
MetricRegistry.register(Counter counter)
Registers the counter metrics instance.
|
Counter |
Counter.Builder.register(MetricRegistry registry) |
Modifier and Type | Method and Description |
---|---|
Counter |
MetricRegistry.register(Counter counter)
Registers the counter metrics instance.
|
void |
MetricRegistry.unregister(Counter counter)
Unregister the counter metrics instance.
|
Modifier and Type | Class and Description |
---|---|
class |
NoOpCounter
Implementation of No-Op
Counter . |
Modifier and Type | Method and Description |
---|---|
Counter |
NoOpMetricProvider.newCounter(MetricId metricId) |
Modifier and Type | Method and Description |
---|---|
Counter |
MetricProvider.newCounter(MetricId metricId)
This returns the new instance of the Counter metric.
|
Copyright © 2018 WSO2. All rights reserved.