|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Inheritance diagram for ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager:
Collaboration diagram for ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager:Public Member Functions | |
| run (Bucket $bucket) | |
| This will add an Observer of the Task and start running the task. More... | |
| runAsync () | |
Public Member Functions inherited from ILIAS\BackgroundTasks\Implementation\TaskManager\BasicTaskManager | |
| __construct (protected Persistence $persistence) | |
| continueTask (Bucket $bucket, Option $option) | |
| Continue a task with a given option. More... | |
| quitBucket (Bucket $bucket) | |
| Quits and deletes a Bucket with all it's Jobs. More... | |
Public Member Functions inherited from ILIAS\BackgroundTasks\TaskManager | |
| executeTask (Task $task, Observer $observer) | |
| Actually executes a task. More... | |
| run (Bucket $bucket) | |
| Depending on your background task settings, executes or puts the task into the queue. More... | |
| continueTask (Bucket $bucket, Option $option) | |
| Continue a task that is the state UserInteraction with a given option. More... | |
| quitBucket (Bucket $bucket) | |
| Quits and deletes a Bucket with all it's Jobs. More... | |
Data Fields | |
| const | CMD_START_WORKER = 'startBackgroundTaskWorker' |
Definition at line 26 of file AsyncTaskManager.php.
| ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager::run | ( | Bucket | $bucket | ) |
This will add an Observer of the Task and start running the task.
Exception
Implements ILIAS\BackgroundTasks\TaskManager.
Definition at line 34 of file AsyncTaskManager.php.
References ILIAS\$client_id, $DIC, CLIENT_ID, ILIAS\BackgroundTasks\Bucket\getTask(), ILIAS\BackgroundTasks\Implementation\Bucket\State\SCHEDULED, ILIAS\BackgroundTasks\Bucket\setCurrentTask(), and ILIAS\BackgroundTasks\Bucket\setState().
Here is the call graph for this function:| ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager::runAsync | ( | ) |
Definition at line 85 of file AsyncTaskManager.php.
References $DIC, Vendor\Package\$e, $ilIliasIniFile, ILIAS\BackgroundTasks\TaskManager\executeTask(), ILIAS\BackgroundTasks\Implementation\Bucket\State\FINISHED, ILIAS\BackgroundTasks\Implementation\Bucket\State\RUNNING, and ILIAS\BackgroundTasks\Implementation\Bucket\State\SCHEDULED.
Here is the call graph for this function:| const ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager::CMD_START_WORKER = 'startBackgroundTaskWorker' |
Definition at line 28 of file AsyncTaskManager.php.