Class EventSubscriptionScheduler

java.lang.Object
org.openmetadata.service.events.scheduled.EventSubscriptionScheduler

public class EventSubscriptionScheduler extends Object
  • Field Details

  • Method Details

    • getInstance

      public static EventSubscriptionScheduler getInstance()
    • addSubscriptionPublisher

      public void addSubscriptionPublisher(EventSubscription eventSubscription) throws org.quartz.SchedulerException
      Throws:
      org.quartz.SchedulerException
    • updateEventSubscription

      public void updateEventSubscription(EventSubscription eventSubscription)
    • deleteEventSubscriptionPublisher

      public void deleteEventSubscriptionPublisher(EventSubscription deletedEntity) throws org.quartz.SchedulerException
      Throws:
      org.quartz.SchedulerException
    • getStatusForEventSubscription

      public SubscriptionStatus getStatusForEventSubscription(UUID subscriptionId, UUID destinationId)
    • getEventSubscriptionFromScheduledJob

      public EventSubscription getEventSubscriptionFromScheduledJob(UUID id)
    • checkIfPublisherPublishedAllEvents

      public boolean checkIfPublisherPublishedAllEvents(UUID subscriptionID)
    • shutDown

      public static void shutDown() throws org.quartz.SchedulerException
      Throws:
      org.quartz.SchedulerException