Package com.netflix.genie.web.events
Class JobNotificationMetricPublisher
- java.lang.Object
-
- com.netflix.genie.web.events.JobNotificationMetricPublisher
-
- All Implemented Interfaces:
java.util.EventListener
,org.springframework.context.ApplicationListener<JobStateChangeEvent>
public class JobNotificationMetricPublisher extends java.lang.Object implements org.springframework.context.ApplicationListener<JobStateChangeEvent>
Listens to job status changes and publishes metrics.- Since:
- 4.0.0
-
-
Constructor Summary
Constructors Constructor Description JobNotificationMetricPublisher(io.micrometer.core.instrument.MeterRegistry registry)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onApplicationEvent(JobStateChangeEvent event)
-
-
-
Method Detail
-
onApplicationEvent
public void onApplicationEvent(JobStateChangeEvent event)
- Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<JobStateChangeEvent>
-
-