October 2018
Intermediate to advanced
556 pages
15h 18m
English
Scheduler is an interface that has two central methods: Scheduler.schedule and Scheduler.createWorker. The first method makes it possible to schedule a Runnable task, whereas the second one provides us with a dedicated instance of the Worker interface, which can schedule Runnable tasks in the same way. The central difference between the Scheduler interface and the Worker interface is that the Scheduler interface represents a pool of workers, whereas Worker is a dedicated abstraction over the Thread or a resource. By default, Reactor provides three central Scheduler interface implementations, which are listed as follows:
Read now
Unlock full access