Interface BackgroundTaskHandler

    • Method Detail

      • isScheduledOrRunning

        boolean isScheduledOrRunning​(Class<? extends BackgroundTask> type,
                                     Long entityId)
        Returns whether the given background task type, with the given entity id as context, is either scheduled for execution or currently runnnig
      • isScheduledOrRunning

        boolean isScheduledOrRunning​(Class<? extends BackgroundTask> type,
                                     String context)
        Returns whether the given background task type, with the given context, is either scheduled for execution or currently runnnig