Class CommonsObjectPool2Metrics
java.lang.Object
io.micrometer.core.instrument.binder.commonspool2.CommonsObjectPool2Metrics
- All Implemented Interfaces:
MeterBinder
,AutoCloseable
Apache Commons Pool 2.x metrics collected from metrics exposed via the MBeanServer.
Metrics are exposed for each object pool.
- Since:
- 1.6.0
-
Constructor Summary
ConstructorDescriptionCommonsObjectPool2Metrics
(Iterable<Tag> tags) CommonsObjectPool2Metrics
(MBeanServer mBeanServer, Iterable<Tag> tags) -
Method Summary
-
Constructor Details
-
CommonsObjectPool2Metrics
public CommonsObjectPool2Metrics() -
CommonsObjectPool2Metrics
-
CommonsObjectPool2Metrics
-
-
Method Details
-
bindTo
- Specified by:
bindTo
in interfaceMeterBinder
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-