|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.mapred.TaskTrackerStatus.ResourceStatus
public static class TaskTrackerStatus.ResourceStatus
Class representing a collection of resources on this tasktracker.
Method Summary | |
---|---|
long |
getAvailableSpace()
Will return LONG_MAX if space hasn't been measured yet. |
long |
getTotalPhysicalMemory()
Get the maximum amount of physical memory on the tasktracker. |
long |
getTotalVirtualMemory()
Get the maximum amount of virtual memory on the tasktracker. |
void |
readFields(DataInput in)
Deserialize the fields of this object from in . |
void |
write(DataOutput out)
Serialize 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 |
Method Detail |
---|
public long getTotalVirtualMemory()
JobConf.DISABLED_MEMORY_LIMIT
, it should be ignored
and not used in any computation.
public long getTotalPhysicalMemory()
JobConf.DISABLED_MEMORY_LIMIT
, it should be ignored
and not used in any computation.
public long getAvailableSpace()
public void write(DataOutput out) throws IOException
Writable
out
.
write
in interface Writable
out
- DataOuput
to serialize this object into.
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
in
- DataInput
to deseriablize this object from.
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |