116117118119120121122123124125126
Set<Integer> taskids = workerData.getTaskids(); for (int taskid : taskids) { TaskShutdownDameon t = Task.mk_task(workerData, taskid); shutdowntasks.add(t); } return shutdowntasks;