Package ubic.gemma.core.metrics.binder
Class GenericExecutorMetrics
- java.lang.Object
-
- ubic.gemma.core.metrics.binder.GenericExecutorMetrics
-
- All Implemented Interfaces:
io.micrometer.core.instrument.binder.MeterBinder
public class GenericExecutorMetrics extends Object implements io.micrometer.core.instrument.binder.MeterBinder
A meter binder that delegates to the appropriateExecutor
implementation.This handles
DelegatingExecutor
by recursively binding to the delegate until it finds a supported implementation.- Author:
- poirigui
-
-
Constructor Summary
Constructors Constructor Description GenericExecutorMetrics(Executor executor, String poolName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bindTo(io.micrometer.core.instrument.MeterRegistry registry)
-