public final class AsyncEmbeddedCronJob extends AsyncJob
Constructor and Description |
---|
AsyncEmbeddedCronJob(Runnable runnable,
EmbeddedCronSchedulerProvider embeddedCronSchedulerProvider,
String id,
String cronExpression) |
Modifier and Type | Method and Description |
---|---|
void |
checkAndExecute(ExecutorService tasksExecutor) |
String |
getId() |
long |
getLastExecutingTime() |
long |
getNextExecutingTime() |
boolean |
isExecuting() |
boolean |
schedule() |
String |
toString() |
boolean |
unschedule() |
public AsyncEmbeddedCronJob(Runnable runnable, EmbeddedCronSchedulerProvider embeddedCronSchedulerProvider, String id, String cronExpression)
public boolean unschedule()
unschedule
in class AsyncJob
public String getId()
public long getLastExecutingTime()
public long getNextExecutingTime()
public boolean isExecuting()
public void checkAndExecute(ExecutorService tasksExecutor)
Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.