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
Exception
public ScheduledFuture<?> schedule(Runnable r, int delay, TimeUnit tu) throws Exception
Exception
public ScheduledFuture<?> schedule(Callable<?> c, int delay, TimeUnit tu) throws Exception
Exception
public ScheduledFuture<?> scheduleEvery(Runnable r, OATime time) throws Exception
Exception
public ScheduledFuture<?> scheduleEvery(Runnable r, int initialDelay, int period, TimeUnit tu) throws Exception
Exception
public ScheduledExecutorService getScheduledExecutorService()
Copyright © 1999–2019 ViaOA. All rights reserved.