|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.nutch.mapReduce.TaskTrackerStatus
A TaskTrackerStatus is a MapReduce primitive. Keeps info on a TaskTracker. The JobTracker maintains a set of the most recent TaskTrackerStatus objects for each unique TaskTracker it knows about.
Constructor Summary | |
TaskTrackerStatus()
|
|
TaskTrackerStatus(String trackerName,
String host,
int port,
Vector taskReports)
|
Method Summary | |
String |
getHost()
|
long |
getLastSeen()
|
int |
getPort()
|
String |
getTrackerName()
|
void |
readFields(DataInput in)
Reads the fields of this object from in . |
void |
setLastSeen(long lastSeen)
|
Iterator |
taskReports()
All current tasks at the TaskTracker. |
void |
write(DataOutput out)
Writes the fields of this object to out . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TaskTrackerStatus()
public TaskTrackerStatus(String trackerName, String host, int port, Vector taskReports)
Method Detail |
public String getTrackerName()
public String getHost()
public int getPort()
public Iterator taskReports()
public long getLastSeen()
public void setLastSeen(long lastSeen)
public void write(DataOutput out) throws IOException
Writable
out
.
write
in interface Writable
IOException
public void readFields(DataInput in) throws IOException
Writable
in
. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
readFields
in interface Writable
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |