|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object play.PlayPlugin play.jobs.JobsPlugin
public class JobsPlugin
Field Summary | |
---|---|
static java.util.concurrent.ScheduledThreadPoolExecutor |
executor
|
static java.util.List<Job> |
scheduledJobs
|
Fields inherited from class play.PlayPlugin |
---|
index |
Constructor Summary | |
---|---|
JobsPlugin()
|
Method Summary | ||
---|---|---|
void |
afterApplicationStart()
Called after the application start. |
|
java.lang.String |
getStatus()
Retun the plugin status |
|
void |
onApplicationStart()
Called at application start (and at each reloading) Time to start statefull things. |
|
void |
onApplicationStop()
Called at application stop (and before each reloading) Time to shutdown statefull things. |
|
static
|
scheduleForCRON(Job<V> job)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.util.concurrent.ScheduledThreadPoolExecutor executor
public static java.util.List<Job> scheduledJobs
Constructor Detail |
---|
public JobsPlugin()
Method Detail |
---|
public java.lang.String getStatus()
PlayPlugin
getStatus
in class PlayPlugin
public void afterApplicationStart()
PlayPlugin
afterApplicationStart
in class PlayPlugin
public void onApplicationStart()
PlayPlugin
onApplicationStart
in class PlayPlugin
public static <V> void scheduleForCRON(Job<V> job)
public void onApplicationStop()
PlayPlugin
onApplicationStop
in class PlayPlugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |