public class OAScheduledExecutorService extends Object
| Constructor and Description |
|---|
OAScheduledExecutorService() |
| Modifier and Type | Method and Description |
|---|---|
ScheduledExecutorService |
getScheduledExecutorService() |
static void |
main(String[] args) |
ScheduledFuture<?> |
schedule(Callable<?> c,
int delay,
TimeUnit tu) |
ScheduledFuture<?> |
schedule(Runnable r,
int delay,
TimeUnit tu) |
ScheduledFuture<?> |
schedule(Runnable r,
OADateTime dt) |
ScheduledFuture<?> |
scheduleEvery(Runnable r,
int initialDelay,
int period,
TimeUnit tu) |
ScheduledFuture<?> |
scheduleEvery(Runnable r,
OATime time) |
public ScheduledFuture<?> schedule(Runnable r, OADateTime dt) throws Exception
Exceptionpublic ScheduledFuture<?> schedule(Runnable r, int delay, TimeUnit tu) throws Exception
Exceptionpublic ScheduledFuture<?> schedule(Callable<?> c, int delay, TimeUnit tu) throws Exception
Exceptionpublic ScheduledFuture<?> scheduleEvery(Runnable r, OATime time) throws Exception
Exceptionpublic ScheduledFuture<?> scheduleEvery(Runnable r, int initialDelay, int period, TimeUnit tu) throws Exception
Exceptionpublic ScheduledExecutorService getScheduledExecutorService()
Copyright © 1999–2025 ViaOA. All rights reserved.