ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
getUserId () | |
setUserId ($user_id) | |
setPercentage (Task $task, $percentage) | |
Used by a job to notify his percentage. More... | |
getOverallPercentage () | |
setOverallPercentage ($percentage) | |
setCurrentTask ($task) | |
getCurrentTask () | |
setTask (Task $task) | |
getTask () | |
setState ($state) | |
getState () | |
checkIntegrity () | |
userInteraction (Option $option) | |
Let the user interact with the bucket task queue. More... | |
getDescription () | |
getTitle () | |
heartbeat () | |
There was something going on in the bucket, it's still working. More... | |
setLastHeartbeat ($timestamp) | |
getLastHeartbeat () | |
When was the last time that something happened on this bucket? More... | |
Definition at line 15 of file Bucket.php.
ILIAS\BackgroundTasks\Bucket::checkIntegrity | ( | ) |
Exception |
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\saveBucketAndItsTasks().
ILIAS\BackgroundTasks\Bucket::getCurrentTask | ( | ) |
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
Referenced by ilBTPopOverGUI\getDefaultCardContent(), ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\saveObserver(), and ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\updateBucket().
ILIAS\BackgroundTasks\Bucket::getDescription | ( | ) |
Implements ILIAS\BackgroundTasks\BucketMeta.
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\saveObserver(), and ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\updateBucket().
ILIAS\BackgroundTasks\Bucket::getLastHeartbeat | ( | ) |
When was the last time that something happened on this bucket?
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\updateBucket().
ILIAS\BackgroundTasks\Bucket::getOverallPercentage | ( | ) |
Implements ILIAS\BackgroundTasks\BucketMeta.
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
Referenced by ilBTPopOverGUI\getProgressbar(), ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\saveObserver(), and ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\updateBucket().
ILIAS\BackgroundTasks\Bucket::getState | ( | ) |
Implements ILIAS\BackgroundTasks\BucketMeta.
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
Referenced by ILIAS\BackgroundTasks\Implementation\TaskManager\BasicTaskManager\continueTask(), ilBTPopOverGUI\getProgressbar(), ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\saveObserver(), and ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\updateBucket().
ILIAS\BackgroundTasks\Bucket::getTask | ( | ) |
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
Referenced by ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager\run(), ILIAS\BackgroundTasks\Implementation\TaskManager\SyncTaskManager\run(), ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\saveObserver(), and ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\updateBucket().
ILIAS\BackgroundTasks\Bucket::getTitle | ( | ) |
Implements ILIAS\BackgroundTasks\BucketMeta.
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
Referenced by ILIAS\File\Sanitation\DownloadSanitationReportUserInteraction\getOptions(), ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\saveObserver(), and ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\updateBucket().
ILIAS\BackgroundTasks\Bucket::getUserId | ( | ) |
Implements ILIAS\BackgroundTasks\BucketMeta.
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\saveObserver(), and ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\updateBucket().
ILIAS\BackgroundTasks\Bucket::heartbeat | ( | ) |
There was something going on in the bucket, it's still working.
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
ILIAS\BackgroundTasks\Bucket::setCurrentTask | ( | $task | ) |
Task | $task |
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
Referenced by ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\getValueContainerId(), ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager\run(), ILIAS\BackgroundTasks\Implementation\TaskManager\SyncTaskManager\run(), and ILIAS\BackgroundTasks\Implementation\Persistence\BasicPersistence\saveObserver().
ILIAS\BackgroundTasks\Bucket::setLastHeartbeat | ( | $timestamp | ) |
$timestamp | int |
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
ILIAS\BackgroundTasks\Bucket::setOverallPercentage | ( | $percentage | ) |
$percentage | int |
Implements ILIAS\BackgroundTasks\BucketMeta.
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
ILIAS\BackgroundTasks\Bucket::setPercentage | ( | Task | $task, |
$percentage | |||
) |
Used by a job to notify his percentage.
$task | Task |
$percentage | int |
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
ILIAS\BackgroundTasks\Bucket::setState | ( | $state | ) |
$state | int From Observer |
Implements ILIAS\BackgroundTasks\BucketMeta.
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
Referenced by ILIAS\BackgroundTasks\Implementation\TaskManager\AsyncTaskManager\run(), and ILIAS\BackgroundTasks\Implementation\TaskManager\SyncTaskManager\run().
ILIAS\BackgroundTasks\Bucket::setTask | ( | Task | $task | ) |
Task | $task |
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
ILIAS\BackgroundTasks\Bucket::setUserId | ( | $user_id | ) |
int | $user_id |
Implements ILIAS\BackgroundTasks\BucketMeta.
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
ILIAS\BackgroundTasks\Bucket::userInteraction | ( | Option | $option | ) |
Let the user interact with the bucket task queue.
Option | $option |
Implemented in ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucket.
Referenced by ILIAS\BackgroundTasks\Implementation\TaskManager\BasicTaskManager\continueTask().