Class ControlledWorkerScheduler<T>

java.lang.Object
org.eclipse.rdf4j.federated.evaluation.concurrent.ControlledWorkerScheduler<T>
All Implemented Interfaces:
Scheduler<T>, TaskWrapperAware

public class ControlledWorkerScheduler<T> extends Object implements Scheduler<T>, TaskWrapperAware
ControlledWorkerScheduler is a task scheduler that uses a FIFO queue for managing its process. Each instance has a pool with a fixed number of worker threads. Once notified a worker picks the next task from the queue and executes it. The results is then returned to the controlling instance retrieved from the task.
Author:
Andreas Schwarte
See Also: