org.apache.hadoop.mapreduce.v2.app.speculate
Class SpeculatorEvent

java.lang.Object
  extended by org.apache.hadoop.yarn.event.AbstractEvent<Speculator.EventType>
      extended by org.apache.hadoop.mapreduce.v2.app.speculate.SpeculatorEvent
All Implemented Interfaces:
org.apache.hadoop.yarn.event.Event<Speculator.EventType>

public class SpeculatorEvent
extends org.apache.hadoop.yarn.event.AbstractEvent<Speculator.EventType>


Constructor Summary
SpeculatorEvent(org.apache.hadoop.mapreduce.v2.api.records.JobId jobID, long timestamp)
           
SpeculatorEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID, boolean flag, long timestamp)
           
SpeculatorEvent(TaskAttemptStatusUpdateEvent.TaskAttemptStatus reportedStatus, long timestamp)
           
SpeculatorEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskId taskID, int containersNeededChange)
           
 
Method Summary
 int containersNeededChange()
           
 org.apache.hadoop.mapreduce.v2.api.records.JobId getJobID()
           
 TaskAttemptStatusUpdateEvent.TaskAttemptStatus getReportedStatus()
           
 org.apache.hadoop.mapreduce.v2.api.records.TaskId getTaskID()
           
 
Methods inherited from class org.apache.hadoop.yarn.event.AbstractEvent
getTimestamp, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SpeculatorEvent

public SpeculatorEvent(org.apache.hadoop.mapreduce.v2.api.records.JobId jobID,
                       long timestamp)

SpeculatorEvent

public SpeculatorEvent(TaskAttemptStatusUpdateEvent.TaskAttemptStatus reportedStatus,
                       long timestamp)

SpeculatorEvent

public SpeculatorEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID,
                       boolean flag,
                       long timestamp)

SpeculatorEvent

public SpeculatorEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskId taskID,
                       int containersNeededChange)
Method Detail

getReportedStatus

public TaskAttemptStatusUpdateEvent.TaskAttemptStatus getReportedStatus()

containersNeededChange

public int containersNeededChange()

getTaskID

public org.apache.hadoop.mapreduce.v2.api.records.TaskId getTaskID()

getJobID

public org.apache.hadoop.mapreduce.v2.api.records.JobId getJobID()


Copyright © 2013 Apache Software Foundation. All Rights Reserved.