schedulerserver.java

来自「一个java工作流引擎」· Java 代码 · 共 19 行

JAVA
19
字号
package org.jbpm.scheduler;

/**
 * is the interface towards the external client that provides the server with 
 * a request-thread to execute the scheduled jobs.  jBpm is usually executed 
 * within a servlet- or ejb-container.  In such containers you shouldn't mess with 
 * threads.  Therefor, we have an external application client that will provide 
 * the server with a request-thread to execute the scheduled jobs.
 */
public interface SchedulerServer {
  
  /**
   * executes all jobs that are due.
   * @return the number of milliseconds to wait till the next check should be done.
   */
  long checkJobs();
  
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?