当前页面:
在线文档首页 >
JBoss JBPM 3.1.3 API 英文版文档
SchedulerThread (jbpm-3.1.3) - JBoss JBPM 3.1.3 API 英文版文档
org.jbpm.scheduler.impl
Class SchedulerThread
java.lang.Object
java.lang.Thread
org.jbpm.scheduler.impl.SchedulerThread
- All Implemented Interfaces:
- java.lang.Runnable
public class SchedulerThread
- extends java.lang.Thread
Nested classes/interfaces inherited from class java.lang.Thread |
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SchedulerThread
public SchedulerThread()
SchedulerThread
public SchedulerThread(JbpmConfiguration jbpmConfiguration)
SchedulerThread
public SchedulerThread(java.lang.String jbpmContextName)
SchedulerThread
public SchedulerThread(JbpmConfiguration jbpmConfiguration,
java.lang.String jbpmContextName)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
- Overrides:
run
in class java.lang.Thread
executeTimers
public long executeTimers()
- executes due timers and calculates the time before the next timer is due.
- Returns:
- the number of milliseconds till the next job is due or -1 if no timer is
schedulerd in the future.
addListener
public void addListener(SchedulerListener listener)
removeListener
public void removeListener(SchedulerListener listener)
setInterval
public void setInterval(long interval)
setMaxResultCount
public void setMaxResultCount(int maxResultCount)
quit
public void quit()
Version : jbpm-3.1.3