Package org.apache.druid.indexer.report
Class KillTaskReport
- java.lang.Object
-
- org.apache.druid.indexer.report.KillTaskReport
-
- All Implemented Interfaces:
TaskReport
public class KillTaskReport extends Object implements TaskReport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KillTaskReport.Stats
-
Nested classes/interfaces inherited from interface org.apache.druid.indexer.report.TaskReport
TaskReport.ReportMap
-
-
Field Summary
Fields Modifier and Type Field Description static String
REPORT_KEY
-
Constructor Summary
Constructors Constructor Description KillTaskReport(String taskId, KillTaskReport.Stats stats)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Object
getPayload()
String
getReportKey()
String
getTaskId()
int
hashCode()
-
-
-
Field Detail
-
REPORT_KEY
public static final String REPORT_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
KillTaskReport
public KillTaskReport(String taskId, KillTaskReport.Stats stats)
-
-
Method Detail
-
getTaskId
public String getTaskId()
- Specified by:
getTaskId
in interfaceTaskReport
-
getReportKey
public String getReportKey()
- Specified by:
getReportKey
in interfaceTaskReport
-
getPayload
public Object getPayload()
- Specified by:
getPayload
in interfaceTaskReport
- Returns:
- A JSON-serializable Object that contains a TaskReport's information
-
-