public class TaskEntry<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Callback<T> |
callback |
protected boolean |
completed |
protected long |
delay |
protected long |
delayTimeOut |
private TaskEntryFuture<T> |
future |
protected long |
repeat |
protected Callable<T> |
task |
protected T |
value |
| Constructor and Description |
|---|
TaskEntry(Callable<T> task,
Callback<T> complete,
long delay,
long repeat) |
| Modifier and Type | Method and Description |
|---|---|
protected TaskEntryFuture<T> |
drop() |
Callback<T> |
getCallback() |
long |
getDelayTimeOut() |
long |
getRepeat() |
protected void |
invoke() |
boolean |
isCompleted() |
private final TaskEntryFuture<T> future
protected volatile T value
protected long delayTimeOut
protected long repeat
protected long delay
protected boolean completed
Copyright © 2020. All rights reserved.