public class ExecuteAsyncRunnable extends Object implements Runnable
Modifier and Type | Field and Description |
---|---|
protected CommandExecutor |
commandExecutor |
protected JobEntity |
job |
Constructor and Description |
---|
ExecuteAsyncRunnable(JobEntity job,
CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeJob() |
protected void |
handleFailedJob(Throwable exception) |
protected boolean |
lockJobIfNeeded()
Returns true if lock succeeded, or no lock was needed.
|
void |
run() |
protected void |
unacquireJob() |
protected void |
unlockJobIfNeeded() |
protected JobEntity job
protected CommandExecutor commandExecutor
public ExecuteAsyncRunnable(JobEntity job, CommandExecutor commandExecutor)
protected boolean lockJobIfNeeded()
protected void unacquireJob()
protected void executeJob()
protected void unlockJobIfNeeded()
protected void handleFailedJob(Throwable exception)
Copyright © 2016 Alfresco. All rights reserved.