@RequiresMetrics @Singleton @Requires(property="micronaut.metrics.binders.cache.enabled", notEquals="false") public class CaffeineCacheMetricsBinder extends java.lang.Object implements io.micronaut.context.event.BeanCreatedEventListener<Cache<?>>
Constructor and Description |
---|
CaffeineCacheMetricsBinder(javax.inject.Provider<io.micrometer.core.instrument.MeterRegistry> meterRegistryProvider)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Cache<?> |
onCreated(io.micronaut.context.event.BeanCreatedEvent<Cache<?>> event) |