org.apache.hadoop.mapred
Class JvmTask
java.lang.Object
org.apache.hadoop.mapred.JvmTask
- All Implemented Interfaces:
- org.apache.hadoop.io.Writable
@InterfaceAudience.Private
@InterfaceStability.Unstable
public class JvmTask
- extends Object
- implements org.apache.hadoop.io.Writable
Task abstraction that can be serialized, implements the writable interface.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JvmTask
public JvmTask(Task t,
boolean shouldDie)
JvmTask
public JvmTask()
getTask
public Task getTask()
shouldDie
public boolean shouldDie()
write
public void write(DataOutput out)
throws IOException
- Specified by:
write
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Specified by:
readFields
in interface org.apache.hadoop.io.Writable
- Throws:
IOException
Copyright © 2014 Apache Software Foundation. All Rights Reserved.