public class TaskFinishedEvent extends Object implements HistoryEvent
构造器和说明 |
---|
TaskFinishedEvent(TaskID id,
long finishTime,
TaskType taskType,
String status,
Counters counters)
Create an event to record the successful completion of a task
|
限定符和类型 | 方法和说明 |
---|---|
JhCounters |
getCounters()
Get task counters
|
EventType |
getEventType()
Get event type
|
long |
getFinishTime()
Get the task finish time
|
TaskID |
getTaskId()
Get task id
|
String |
getTaskStatus()
Get task status
|
TaskType |
getTaskType()
Get task type
|
public TaskFinishedEvent(TaskID id, long finishTime, TaskType taskType, String status, Counters counters)
id
- Task IDfinishTime
- Finish time of the tasktaskType
- Type of the taskstatus
- Status stringcounters
- Counters for the taskpublic TaskID getTaskId()
public long getFinishTime()
public JhCounters getCounters()
public TaskType getTaskType()
public String getTaskStatus()
public EventType getEventType()
getEventType
在接口中 HistoryEvent
Copyright © 2009 The Apache Software Foundation