@InterfaceAudience.Private public class TaskMonitor extends Object
Constructor and Description |
---|
TaskMonitor() |
Modifier and Type | Method and Description |
---|---|
MonitoredRPCHandler |
createRPCStatus(String description) |
MonitoredTask |
createStatus(String description) |
void |
dumpAsText(PrintWriter out) |
static TaskMonitor |
get()
Get singleton instance.
|
List<MonitoredTask> |
getTasks()
Produces a list containing copies of the current state of all non-expired
MonitoredTasks handled by this TaskMonitor.
|
public static TaskMonitor get()
public MonitoredTask createStatus(String description)
public MonitoredRPCHandler createRPCStatus(String description)
public List<MonitoredTask> getTasks()
public void dumpAsText(PrintWriter out)
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.