42 $this->bucket->setState($state);
43 $this->bucket->heartbeat();
44 $this->persistence->updateBucket($this->bucket);
49 $this->bucket->setPercentage($task, $percentage);
50 $this->bucket->heartbeat();
51 $this->persistence->updateBucket($this->bucket);
56 $this->bucket->setCurrentTask($task);
57 $this->bucket->heartbeat();
58 $this->persistence->updateBucket($this->bucket);
67 $this->bucket->heartbeat();
68 $this->persistence->updateBucket($this->bucket);
Class PersistingObserver.
heartbeat()
I'm still alive! If your calculation takes a really long time don't forget to use the heartbeat...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
notifyCurrentTask(Task $task)
__construct(protected Bucket $bucket, protected Persistence $persistence)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
notifyPercentage(Task $task, int $percentage)