public class EntityAsyncTask extends SPMAsyncTask
Modifier and Type | Field and Description |
---|---|
protected static Object |
_lockObject |
_lastAccessToStatusSinceEnd
Constructor and Description |
---|
EntityAsyncTask(AsyncTaskParameters parameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
ConcreteStartPollingTask() |
static int |
getEndActionsInProgress() |
protected void |
OnCurrentTaskDoesNotExist()
Executed when we find out that the task doesn't exist, regardless of
whether there are other running tasks on the same entity or not.
|
protected void |
OnCurrentTaskEndFailure()
Executed when the task ended with a failure, regardless of whether there
are other running tasks on the same entity or not.
|
protected void |
OnCurrentTaskEndSuccess()
Executed when the task ends successfully, regardless of whether there are
other running tasks on the same entity or not.
|
protected void |
OnTaskDoesNotExist() |
protected void |
OnTaskEndFailure() |
protected void |
OnTaskEndSuccess() |
AddLogStatusTask, CheckTaskExist, ClearAsyncTask, getContainerId, getLastAccessToStatusSinceEnd, getLastTaskStatus, getParameters, getShouldPoll, getState, getStoragePoolID, getTaskID, LogEndTaskFailure, LogEndTaskSuccess, LogTaskCleanFailure, LogTaskDoesntExist, OnTaskCleanFailure, PollTask, RemoveTaskFromDB, setLastStatusAccessTime, setLastTaskStatus, setParameters, setState, StartPollingTask, StopTask, UpdateAsyncTask, UpdateTask
protected static final Object _lockObject
public EntityAsyncTask(AsyncTaskParameters parameters)
public static int getEndActionsInProgress()
protected void ConcreteStartPollingTask()
ConcreteStartPollingTask
in class SPMAsyncTask
protected void OnTaskEndSuccess()
OnTaskEndSuccess
in class SPMAsyncTask
protected void OnTaskEndFailure()
OnTaskEndFailure
in class SPMAsyncTask
protected void OnTaskDoesNotExist()
OnTaskDoesNotExist
in class SPMAsyncTask
protected void OnCurrentTaskEndSuccess()
protected void OnCurrentTaskEndFailure()
protected void OnCurrentTaskDoesNotExist()
Copyright © 2012. All Rights Reserved.