Multiple parallel tasks in a single service
peter.penzov at gmail.com
Mon Mar 9 21:18:22 UTC 2015
I'm interested how I can create 10 Tasks in one Scheduled Service?
private final DataService service = new DataService();
class DataService extends ScheduledService<Void>
protected Task<Void> createTask()
return new Task<Void>()
protected Void call() throws Exception
// Several tasks
In my case I have 10 charts which I want to update with one
Scheduled Service. So maybe the best solution will be to run the
Scheduled Service with 10 Tasks and update the Charts.
Is there any way to do this?
More information about the openjfx-dev