protected class TimeScheduler3.RecurringTask extends TimeScheduler3.Task
Modifier and Type | Field and Description |
---|---|
protected int |
cnt |
protected long |
initial_delay |
protected long |
period |
protected TimeScheduler3.TaskType |
type |
cancelled, creation_time, delay, done, runnable
Constructor and Description |
---|
RecurringTask(java.lang.Runnable runnable,
TimeScheduler3.TaskType type,
long initial_delay,
long delay,
java.util.concurrent.TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
void |
run() |
cancel, compareTo, get, get, getDelay, getRunnable, isCancelled, isDone, toString
protected final TimeScheduler3.TaskType type
protected final long period
protected final long initial_delay
protected int cnt
public RecurringTask(java.lang.Runnable runnable, TimeScheduler3.TaskType type, long initial_delay, long delay, java.util.concurrent.TimeUnit unit)
public void run()
run
in interface java.lang.Runnable
run
in class TimeScheduler3.Task
Copyright © 1998-2020 Red Hat. All Rights Reserved.