Class AbstractBackgroundTask

    • Constructor Detail

      • AbstractBackgroundTask

        public AbstractBackgroundTask()
    • Method Detail

      • execute

        public final void execute​(String context)
        Description copied from interface: BackgroundTask
        Executes the background task with the given context. Shouldn't throw errors. Tasks are expected to log either their successes or failures.
        Specified by:
        execute in interface BackgroundTask
      • doExecute

        protected abstract long doExecute​(String context)
        Must be implemented to actually execute the task logic, returning the number of affected records