org.apache.hadoop.mapred
Class JvmTask

java.lang.Object
  extended by 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.


Constructor Summary
JvmTask()
           
JvmTask(Task t, boolean shouldDie)
           
 
Method Summary
 Task getTask()
           
 void readFields(DataInput in)
           
 boolean shouldDie()
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JvmTask

public JvmTask(Task t,
               boolean shouldDie)

JvmTask

public JvmTask()
Method Detail

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 © 2012 Apache Software Foundation. All Rights Reserved.