Interface SchedulerMultiWorkerSupport.WorkerCallback

All Known Implementing Classes:
ParallelRunOn.MultiWorkerCallback
Enclosing interface:
SchedulerMultiWorkerSupport

public static interface SchedulerMultiWorkerSupport.WorkerCallback
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onWorker(int index, Scheduler.Worker worker)
    Called with the Worker index and instance.
  • Method Details

    • onWorker

      void onWorker(int index, @NonNull Scheduler.Worker worker)
      Called with the Worker index and instance.
      Parameters:
      index - the worker index, zero-based
      worker - the worker instance