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