36 $this->bucket->setState(
$state);
37 $this->bucket->heartbeat();
38 $this->persistence->updateBucket($this->bucket);
49 $this->bucket->setPercentage($task, $percentage);
50 $this->bucket->heartbeat();
51 $this->persistence->updateBucket($this->bucket);
60 $this->bucket->setCurrentTask($task);
61 $this->bucket->heartbeat();
62 $this->persistence->updateBucket($this->bucket);
74 $this->bucket->heartbeat();
75 $this->persistence->updateBucket($this->bucket);
notifyPercentage(Task $task, $percentage)
Class PersistingObserver.
__construct(Bucket $bucket, Persistence $persistence)
if(!array_key_exists('stateid', $_REQUEST)) $state
Handle linkback() response from LinkedIn.
heartbeat()
I'm still alive! If your calculation takes a really long time don't forget to use the heartbeat...
notifyCurrentTask(Task $task)