public class JobNotificationMetricPublisher extends java.lang.Object implements org.springframework.context.ApplicationListener<JobStateChangeEvent>
Constructor and Description |
---|
JobNotificationMetricPublisher(io.micrometer.core.instrument.MeterRegistry registry)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
onApplicationEvent(JobStateChangeEvent event) |
public JobNotificationMetricPublisher(io.micrometer.core.instrument.MeterRegistry registry)
registry
- metrics registrypublic void onApplicationEvent(JobStateChangeEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<JobStateChangeEvent>