Class MetricsEventRegistryConsumer
- java.lang.Object
-
- com.flowable.core.micrometer.impl.eventregistry.MetricsEventRegistryConsumer
-
- All Implemented Interfaces:
io.micrometer.core.instrument.binder.MeterBinder
,EventRegistryEventConsumer
public class MetricsEventRegistryConsumer extends Object implements EventRegistryEventConsumer, io.micrometer.core.instrument.binder.MeterBinder
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,io.micrometer.core.instrument.Counter>
eventCounterMap
protected io.micrometer.core.instrument.MeterRegistry
meterRegistry
-
Constructor Summary
Constructors Constructor Description MetricsEventRegistryConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bindTo(io.micrometer.core.instrument.MeterRegistry registry)
void
eventReceived(EventRegistryEvent eventRegistryEvent)
String
getConsumerKey()
-
-
-
Method Detail
-
eventReceived
public void eventReceived(EventRegistryEvent eventRegistryEvent)
- Specified by:
eventReceived
in interfaceEventRegistryEventConsumer
-
getConsumerKey
public String getConsumerKey()
- Specified by:
getConsumerKey
in interfaceEventRegistryEventConsumer
-
bindTo
public void bindTo(io.micrometer.core.instrument.MeterRegistry registry)
- Specified by:
bindTo
in interfaceio.micrometer.core.instrument.binder.MeterBinder
-
-