Interface SchedulerMultiWorkerSupport.WorkerCallback
-
- All Known Implementing Classes:
ParallelRunOn.MultiWorkerCallback
- Enclosing interface:
- SchedulerMultiWorkerSupport
public static interface SchedulerMultiWorkerSupport.WorkerCallback
The callback interface for theSchedulerMultiWorkerSupport.createWorkers(int, WorkerCallback)
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onWorker(int index, Scheduler.Worker worker)
Called with the Worker index and instance.
-
-
-
Method Detail
-
onWorker
void onWorker(int index, @NonNull Scheduler.Worker worker)
Called with the Worker index and instance.- Parameters:
index
- the worker index, zero-basedworker
- the worker instance
-
-