-
public final class NewThreadScheduler extends Scheduler
Schedules work on a new thread.
-
-
Constructor Summary
Constructors Constructor Description NewThreadScheduler(ThreadFactory threadFactory)
-
Method Summary
Modifier and Type Method Description Scheduler.Worker
createWorker()
Retrieves or creates a new Scheduler.Worker that represents serial execution of actions. -
-
Constructor Detail
-
NewThreadScheduler
NewThreadScheduler(ThreadFactory threadFactory)
-
-
Method Detail
-
createWorker
Scheduler.Worker createWorker()
Retrieves or creates a new Scheduler.Worker that represents serial execution of actions.
When work is completed it should be unsubscribed using unsubscribe.
Work on a Scheduler.Worker is guaranteed to be sequential.
-
-
-
-