public class TaskKillResult extends AbstractTaskResult
TaskKillResult is used to report the results
of a task kill attempt. It contains the ID of the task to be killed, a return code and
a description. In case of an error during the kill operation the description includes an error message.AbstractTaskResult.ReturnCode| Constructor and Description |
|---|
TaskKillResult()
Constructs an empty task kill result.
|
TaskKillResult(ExecutionVertexID vertexID,
AbstractTaskResult.ReturnCode returnCode)
Constructs a new task kill result.
|
getDescription, getReturnCode, getVertexID, read, setDescription, writepublic TaskKillResult(ExecutionVertexID vertexID, AbstractTaskResult.ReturnCode returnCode)
vertexID - the task ID this result belongs toreturnCode - the return code of the killpublic TaskKillResult()
Copyright © 2014 The Apache Software Foundation. All rights reserved.