Interface DurableBackgroundTask<R>

    • Method Detail

      • name

        String name()
        Getting the name of the task to identify it. Also used as part of a key for storage in a MetaStorage.
        Returns:
        Task name.
      • cancel

        void cancel()
        Canceling the task.
      • convertAfterRestoreIfNeeded

        default DurableBackgroundTask<?> convertAfterRestoreIfNeeded()
        Converting the current task to another after restoring from metaStorage.
        Returns:
        Converted task.