Service/GearmanClient.php
public function addTaskHighBackground($name, $params = '', &$context = null, $unique = null)
    {
        $this->enqueueTask($name, $params, $context, $unique, GearmanMethods::GEARMAN_METHOD_ADDTASKHIGHBACKGROUND);

        return $this;
    }
public function addTaskHighBackground($name, $params = '', &$context = null, $unique = null)
    {
        $this->enqueueTask($name, $params, $context, $unique, GearmanMethods::GEARMAN_METHOD_ADDTASKHIGHBACKGROUND);

        return $this;
    }
public function addTaskHighBackground ( $ name , $ params = '' , & $ context = null , $ unique = null ) { $ this -> enqueueTask ( $ name , $ params , $ context , $ unique , GearmanMethods :: GEARMAN_METHOD_ADDTASKHIGHBACKGROUND ) ; return $ this ; }
Adds a high priority background task to be run in parallel with other
tasks.

Call this method for all the tasks to be run in parallel, then call
GearmanClient::runTasks() to perform the work.

Tasks with a high priority will be selected from the queue before those
of normal or low priority.

@param string $name     A GermanBundle registered function to be executed
@param string $params   Parameters to send to task as string
@param Mixed  &$context Application context to associate with a task
@param string $unique   A unique ID used to identify a particular task

@return GearmanClient Return this object
Adds a high priority background task to be run in parallel with other tasks .