ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
Bucket.php
Go to the documentation of this file.
1 <?php
2 
3 namespace ILIAS\BackgroundTasks;
4 
7 
15 interface Bucket extends BucketMeta
16 {
17 
21  public function getUserId();
22 
23 
27  public function setUserId($user_id);
28 
29 
36  public function setPercentage(Task $task, $percentage);
37 
38 
42  public function getOverallPercentage();
43 
44 
49  public function setOverallPercentage($percentage);
50 
51 
57  public function setCurrentTask($task);
58 
59 
63  public function getCurrentTask();
64 
65 
71  public function setTask(Task $task);
72 
73 
78  public function getTask();
79 
80 
86  public function setState($state);
87 
88 
92  public function getState();
93 
94 
99  public function checkIntegrity();
100 
101 
109  public function userInteraction(Option $option);
110 
111 
115  public function getDescription();
116 
117 
121  public function getTitle();
122 
123 
129  public function heartbeat();
130 
131 
137  public function setLastHeartbeat($timestamp);
138 
144  public function getLastHeartbeat();
145 }
Created by PhpStorm.
setOverallPercentage($percentage)
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
Definition: linkback.php:10
getLastHeartbeat()
When was the last time that something happened on this bucket?
heartbeat()
There was something going on in the bucket, it&#39;s still working.
foreach($mandatory_scripts as $file) $timestamp
Definition: buildRTE.php:81
userInteraction(Option $option)
Let the user interact with the bucket task queue.
setPercentage(Task $task, $percentage)
Used by a job to notify his percentage.