Class EventMonitorPublisher
- java.lang.Object
-
- org.openmetadata.service.events.AbstractEventPublisher
-
- org.openmetadata.service.monitoring.EventMonitorPublisher
-
- All Implemented Interfaces:
com.lmax.disruptor.EventHandler<EventPubSub.ChangeEventHolder>,com.lmax.disruptor.LifecycleAware,EventPublisher
public class EventMonitorPublisher extends AbstractEventPublisher
-
-
Field Summary
-
Fields inherited from class org.openmetadata.service.events.AbstractEventPublisher
BACKOFF_1_HOUR, BACKOFF_24_HOUR, BACKOFF_3_SECONDS, BACKOFF_30_SECONDS, BACKOFF_5_MINUTES, BACKOFF_NORMAL, batch, currentBackoffTime
-
-
Constructor Summary
Constructors Constructor Description EventMonitorPublisher(EventMonitorConfiguration config, EventMonitor eventMonitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonShutdown()voidonStart()voidpublish(EventResource.EventList events)-
Methods inherited from class org.openmetadata.service.events.AbstractEventPublisher
onEvent, setNextBackOff
-
-
-
-
Constructor Detail
-
EventMonitorPublisher
public EventMonitorPublisher(EventMonitorConfiguration config, EventMonitor eventMonitor)
-
-
Method Detail
-
publish
public void publish(EventResource.EventList events) throws EventPublisherException
- Throws:
EventPublisherException
-
onStart
public void onStart()
-
onShutdown
public void onShutdown()
-
-