@InterfaceAudience.Private @InterfaceStability.Unstable public abstract static class TaskRunner.Task extends Object implements Runnable, Delayed
| Constructor and Description |
|---|
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 void setEndTime(long et)
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.