|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskAttemptContext
The context for task attempts.
Field Summary |
---|
Method Summary | |
---|---|
Counter |
getCounter(java.lang.Enum<?> counterName)
Get the Counter for the given counterName . |
Counter |
getCounter(java.lang.String groupName,
java.lang.String counterName)
Get the Counter for the given groupName and
counterName . |
java.lang.String |
getStatus()
Get the last set status message. |
TaskAttemptID |
getTaskAttemptID()
Get the unique name for this task attempt. |
void |
setStatus(java.lang.String msg)
Set the current status of the task to the given string. |
Methods inherited from interface org.apache.hadoop.util.Progressable |
---|
progress |
Method Detail |
---|
TaskAttemptID getTaskAttemptID()
void setStatus(java.lang.String msg)
java.lang.String getStatus()
Counter getCounter(java.lang.Enum<?> counterName)
Counter
for the given counterName
.
counterName
- counter name
Counter
for the given counterName
Counter getCounter(java.lang.String groupName, java.lang.String counterName)
Counter
for the given groupName
and
counterName
.
counterName
- counter name
Counter
for the given groupName
and
counterName
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |