public class ExecuteAsyncRunnable extends Object implements Runnable
| Modifier and Type | Field and Description |
|---|---|
protected Job |
job |
protected String |
jobId |
protected ProcessEngineConfigurationImpl |
processEngineConfiguration |
| Constructor and Description |
|---|
ExecuteAsyncRunnable(Job job,
ProcessEngineConfigurationImpl processEngineConfiguration) |
ExecuteAsyncRunnable(String jobId,
ProcessEngineConfigurationImpl processEngineConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeJob() |
protected void |
handleFailedJob(Throwable exception) |
protected boolean |
isHandledByActiviti5Engine() |
protected boolean |
lockJobIfNeeded()
Returns true if lock succeeded, or no lock was needed.
|
void |
run() |
protected void |
unacquireJob() |
protected void |
unlockJobIfNeeded() |
protected String jobId
protected Job job
protected ProcessEngineConfigurationImpl processEngineConfiguration
public ExecuteAsyncRunnable(String jobId, ProcessEngineConfigurationImpl processEngineConfiguration)
public ExecuteAsyncRunnable(Job job, ProcessEngineConfigurationImpl processEngineConfiguration)
protected boolean isHandledByActiviti5Engine()
protected void executeJob()
protected void unlockJobIfNeeded()
protected boolean lockJobIfNeeded()
protected void unacquireJob()
protected void handleFailedJob(Throwable exception)
Copyright © 2010–2018 Alfresco. All rights reserved.