Interface SchedulerMultiWorkerSupport.WorkerCallback
-
- All Known Implementing Classes:
ParallelRunOn.MultiWorkerCallback
- Enclosing interface:
- SchedulerMultiWorkerSupport
public static interface SchedulerMultiWorkerSupport.WorkerCallbackThe callback interface for theSchedulerMultiWorkerSupport.createWorkers(int, WorkerCallback)method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonWorker(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
-
-