org.jgroups.util
Class TimeScheduler3.RecurringTask
java.lang.Object
org.jgroups.util.TimeScheduler3.Task
org.jgroups.util.TimeScheduler3.RecurringTask
- All Implemented Interfaces:
- java.lang.Comparable<java.util.concurrent.Delayed>, java.lang.Runnable, java.util.concurrent.Delayed, java.util.concurrent.Future
- Enclosing class:
- TimeScheduler3
protected class TimeScheduler3.RecurringTask
- extends TimeScheduler3.Task
Tasks which runs more than once, either dynamic, fixed-rate or fixed-delay, until cancelled
Method Summary |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
delay
protected final long delay
type
protected final TimeScheduler3.TaskType type
TimeScheduler3.RecurringTask
public TimeScheduler3.RecurringTask(java.lang.Runnable runnable,
TimeScheduler3.TaskType type,
long initial_delay,
long delay,
java.util.concurrent.TimeUnit unit)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
- Overrides:
run
in class TimeScheduler3.Task
Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.