Interface Suspendable

All Superinterfaces:
WorkerWithLifecycle
All Known Subinterfaces:
SuspendableWorker
All Known Implementing Classes:
SyncActivityWorker, SyncNexusWorker, SyncWorkflowWorker

public interface Suspendable extends WorkerWithLifecycle
  • Method Details

    • suspendPolling

      void suspendPolling()
      Do not make new poll requests. Outstanding long polls still can return tasks after this method was called.
    • resumePolling

      void resumePolling()
      Allow new poll requests.
    • isSuspended

      boolean isSuspended()