protected class TimeScheduler3.RecurringTask extends TimeScheduler3.Task
Modifier and Type | Field and Description |
---|---|
protected long |
delay |
protected TimeScheduler3.TaskType |
type |
cancelled, done, execution_time, runnable
Constructor and Description |
---|
TimeScheduler3.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 long delay
protected final TimeScheduler3.TaskType type
public TimeScheduler3.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 © 2013 JBoss, a division of Red Hat. All rights reserved.