Interface TaskInfo
-
@Experimental public interface TaskInfoTaskInfocontains all the meta information of the task.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetMaxParallelism()Get the max parallelism of current task.intgetParallelism()Get the parallelism of current task.StringgetTaskName()Get the name of current task.
-
-
-
Method Detail
-
getParallelism
int getParallelism()
Get the parallelism of current task.- Returns:
- the parallelism of this process function.
-
getMaxParallelism
int getMaxParallelism()
Get the max parallelism of current task.- Returns:
- The max parallelism.
-
getTaskName
String getTaskName()
Get the name of current task.- Returns:
- The name of current task.
-
-