Class TaskGroup

java.lang.Object
org.apache.hadoop.hbase.monitoring.MonitoredTaskImpl
org.apache.hadoop.hbase.monitoring.TaskGroup
All Implemented Interfaces:
Cloneable, MonitoredTask

@Private public class TaskGroup extends MonitoredTaskImpl
The TaskGroup can be seen as a big MonitoredTask, which contains a list of sub monitored tasks. The monitored tasks in the group are still be managed by the TaskMonitor, but whether to clear/expire the monitored tasks in a task group is optional. Since the monitored task already has journals, which mark the phases in a task, we still also need a task group to monitor a big task/process because the journals in a task is serial but the tasks in the task group can be parallel, then we have more flexible ability to monitor the process. Grouping the tasks is not strictly necessary but it is cleaner for presentation to operators. We might want to display the tasks in a group in a list view where each task can be collapsed (probably by default) or expanded.