Hi All,
   I'm interested how I can create 10 Tasks in one Scheduled Service?

private final DataService service = new DataService();

    class DataService extends ScheduledService<Void>
    {
        @Override
        protected Task<Void> createTask()
        {
            return new Task<Void>()
            {
                @Override
                protected Void call() throws Exception
                {

                    // Several tasks


                    return null;
                }
            };
        }
    }


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?

BR,
Peter

Reply via email to