Interface Startable

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

public interface Startable extends WorkerWithLifecycle
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    This method is not required to be idempotent.

    Methods inherited from interface io.temporal.internal.worker.WorkerWithLifecycle

    getLifecycleState
  • Method Details

    • start

      boolean start()
      This method is not required to be idempotent. It is expected to be called only once.
      Returns:
      true if the start was successful, false if the worker configuration renders the start obsolete (like no types are registered)