public interface TaskProxy
Modifier and Type | Method and Description |
---|---|
java.util.List<Task> |
getTasks(JobInstance jobInstance) |
java.util.List<Task> getTasks(JobInstance jobInstance) throws java.io.IOException, java.lang.InterruptedException
jobInstance
- the job instance to get the tasks for.Task
tasks that belongs to the JobInstance
.
Each task will have a preferred host and stream partitions assigned to it by
the samza job coordinator.java.io.IOException
- if there was a problem executing the command to get the tasks.java.lang.InterruptedException
- if the thread was interrupted while waiting for the result.