public class AlfrescoJobExecutorThread
extends org.jbpm.job.executor.JobExecutorThread
| Modifier and Type | Class and Description |
|---|---|
static class |
AlfrescoJobExecutorThread.AlfrescoJbpmPersistenceException |
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
AlfrescoJobExecutorThread(String name,
AlfrescoJobExecutor jobExecutor,
org.jbpm.JbpmConfiguration jbpmConfiguration,
int idleInterval,
int maxIdleInterval,
long maxLockTime,
int maxHistory)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected Collection |
acquireJobs() |
protected void |
executeJob(org.jbpm.job.Job jobIn) |
protected Date |
getNextDueDate() |
void |
setActive(boolean isActive) |
activeCount, checkAccess, clone, 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, yieldpublic AlfrescoJobExecutorThread(String name, AlfrescoJobExecutor jobExecutor, org.jbpm.JbpmConfiguration jbpmConfiguration, int idleInterval, int maxIdleInterval, long maxLockTime, int maxHistory)
public void setActive(boolean isActive)
setActive in class org.jbpm.job.executor.JobExecutorThreadprotected Collection acquireJobs()
acquireJobs in class org.jbpm.job.executor.JobExecutorThreadprotected Date getNextDueDate()
getNextDueDate in class org.jbpm.job.executor.JobExecutorThreadprotected void executeJob(org.jbpm.job.Job jobIn)
executeJob in class org.jbpm.job.executor.JobExecutorThreadCopyright © 2005–2014 Alfresco Software. All rights reserved.