play.jobs
类 JobsPlugin

java.lang.Object
  继承者 play.PlayPlugin
      继承者 play.jobs.JobsPlugin
所有已实现的接口:
java.lang.Comparable<PlayPlugin>

public class JobsPlugin
extends PlayPlugin


字段摘要
static java.util.concurrent.ScheduledThreadPoolExecutor executor
           
static java.util.List<Job> scheduledJobs
           
 
从类 play.PlayPlugin 继承的字段
index
 
构造方法摘要
JobsPlugin()
           
 
方法摘要
 void afterApplicationStart()
          Called after the application start.
 java.lang.String getStatus()
          Return the plugin status
 void onApplicationStart()
          Called at application start (and at each reloading) Time to start stateful things.
 void onApplicationStop()
          Called at application stop (and before each reloading) Time to shutdown stateful things.
static
<V> void
scheduleForCRON(Job<V> job)
           
 
从类 play.PlayPlugin 继承的方法
addMimeTypes, addTemplateExtensions, afterActionInvocation, afterFixtureLoad, afterInvocation, beforeActionInvocation, beforeDetectingChanges, beforeInvocation, bind, bind, bind, bindBean, compareTo, compileAll, compileSources, detectChange, detectClassesChange, enhance, getJsonStatus, getMessage, invocationFinally, loadTemplate, modelFactory, onActionInvocationResult, onApplicationReady, onClassesChange, onConfigurationRead, onEvent, onInvocationException, onInvocationSuccess, onLoad, onRequestRouting, onRoutesLoaded, onTemplateCompilation, overrideTemplateSource, postEvent, rawInvocation, routeRequest, runTest, serveStatic, unBind, willBeValidated
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

executor

public static java.util.concurrent.ScheduledThreadPoolExecutor executor

scheduledJobs

public static java.util.List<Job> scheduledJobs
构造方法详细信息

JobsPlugin

public JobsPlugin()
方法详细信息

getStatus

public java.lang.String getStatus()
从类 PlayPlugin 复制的描述
Return the plugin status

覆盖:
PlayPlugin 中的 getStatus

afterApplicationStart

public void afterApplicationStart()
从类 PlayPlugin 复制的描述
Called after the application start.

覆盖:
PlayPlugin 中的 afterApplicationStart

onApplicationStart

public void onApplicationStart()
从类 PlayPlugin 复制的描述
Called at application start (and at each reloading) Time to start stateful things.

覆盖:
PlayPlugin 中的 onApplicationStart

scheduleForCRON

public static <V> void scheduleForCRON(Job<V> job)

onApplicationStop

public void onApplicationStop()
从类 PlayPlugin 复制的描述
Called at application stop (and before each reloading) Time to shutdown stateful things.

覆盖:
PlayPlugin 中的 onApplicationStop


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly