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(Runnable runnable,
TimeScheduler3.TaskType type,
long initial_delay,
long delay,
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(Runnable runnable, TimeScheduler3.TaskType type, long initial_delay, long delay, TimeUnit unit)
public void run()
run
in interface Runnable
run
in class TimeScheduler3.Task
Copyright © 2023 JBoss, a division of Red Hat. All rights reserved.