public abstract static class TaskRunner.Task extends Object implements Runnable, Delayed
| Constructor and Description |
|---|
TaskRunner.Task() |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Delayed o) |
abstract void |
firstStep() |
long |
getDelay(TimeUnit unit) |
void |
init(long startTime) |
void |
init(long startTime,
long endTime,
long repeatInterval) |
abstract void |
lastStep() |
abstract void |
middleStep() |
void |
run() |
void |
setEndTime(long et) |
public void init(long startTime,
long endTime,
long repeatInterval)
public void init(long startTime)
public int compareTo(Delayed o)
compareTo in interface Comparable<Delayed>public abstract void firstStep()
throws org.apache.hadoop.yarn.exceptions.YarnException,
IOException,
InterruptedException
org.apache.hadoop.yarn.exceptions.YarnExceptionIOExceptionInterruptedExceptionpublic abstract void middleStep()
throws org.apache.hadoop.yarn.exceptions.YarnException,
InterruptedException,
IOException
org.apache.hadoop.yarn.exceptions.YarnExceptionInterruptedExceptionIOExceptionpublic abstract void lastStep()
throws org.apache.hadoop.yarn.exceptions.YarnException
org.apache.hadoop.yarn.exceptions.YarnExceptionpublic void setEndTime(long et)
Copyright © 2014 Apache Software Foundation. All Rights Reserved.