public interface ExecutorManager
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(java.util.concurrent.Future f)
Cancel a previously scheduled task.
|
java.util.concurrent.Future |
schedule(java.lang.Runnable r,
long initialDelay,
long delay,
java.util.concurrent.TimeUnit unit)
Schedule a task to run in the future at a recurring interval.
|
java.util.concurrent.Future |
submit(java.lang.Runnable r)
Submit a task for immediate execution.
|
java.util.concurrent.Future schedule(java.lang.Runnable r,
long initialDelay,
long delay,
java.util.concurrent.TimeUnit unit)
r - the Runnable task to executeinitialDelay - the initial delay in time unitsdelay - the delay between iterations in time unitsunit - the unit of timejava.util.concurrent.Future submit(java.lang.Runnable r)
r - the Runnable task to executevoid cancel(java.util.concurrent.Future f)
f - a Future returned from a call to schedule()Copyright © 2015 Whizzo Software LLC. All rights reserved.