ILIAS
trunk Revision v11.0_alpha-1866-gfa368f7776e
|
Class NonPersistingObserver. More...
Public Member Functions | |
__construct (protected Bucket $bucket) | |
notifyState (int $state) | |
notifyPercentage (Task $task, int $percentage) | |
notifyCurrentTask (Task $task) | |
heartbeat () | |
I'm still alive! If your calculation takes a really long time don't forget to use the heartbeat. More... | |
![]() | |
notifyPercentage (Task $task, int $percentage) | |
You can change the progress of a currently running task. More... | |
notifyCurrentTask (Task $task) | |
If the current task changes notify the observer. More... | |
Class NonPersistingObserver.
Definition at line 30 of file NonPersistingObserver.php.
ILIAS\BackgroundTasks\Implementation\TaskManager\NonPersistingObserver::__construct | ( | protected Bucket | $bucket | ) |
Definition at line 32 of file NonPersistingObserver.php.
ILIAS\BackgroundTasks\Implementation\TaskManager\NonPersistingObserver::heartbeat | ( | ) |
I'm still alive! If your calculation takes a really long time don't forget to use the heartbeat.
Otherwise the bucket might be killed while still running. All notify tasks of the observer also trigger a heartbeat.
Implements ILIAS\BackgroundTasks\Observer.
Definition at line 61 of file NonPersistingObserver.php.
ILIAS\BackgroundTasks\Implementation\TaskManager\NonPersistingObserver::notifyCurrentTask | ( | Task | $task | ) |
Definition at line 51 of file NonPersistingObserver.php.
ILIAS\BackgroundTasks\Implementation\TaskManager\NonPersistingObserver::notifyPercentage | ( | Task | $task, |
int | $percentage | ||
) |
Definition at line 45 of file NonPersistingObserver.php.
ILIAS\BackgroundTasks\Implementation\TaskManager\NonPersistingObserver::notifyState | ( | int | $state | ) |
$state | int |
Implements ILIAS\BackgroundTasks\Observer.
Definition at line 39 of file NonPersistingObserver.php.