array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'pt_BR', ), 'this' => array ( 0 => 'class.gearmanclient.php', 1 => 'GearmanClient', ), 'up' => array ( 0 => 'book.gearman.php', 1 => 'Gearman', ), 'prev' => array ( 0 => 'gearman.examples-reverse-task.php', 1 => 'Basic Gearman client and worker, submitting tasks', ), 'next' => array ( 0 => 'gearmanclient.addoptions.php', 1 => 'GearmanClient::addOptions', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gearman/gearmanclient.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.gearmanclient.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL gearman >= 0.5.0)
Represents a class for connecting to a Gearman job server and making requests to perform some function on provided data. The function performed must be one registered by a Gearman worker and the data passed is opaque to the job server.
$function_name
,$workload
,$context
= null
,$unique_key
= null
$function_name
,$workload
,$context
= null
,$unique_key
= null
$function_name
,$workload
,$context
= null
,$unique_key
= null
$function_name
,$workload
,$context
= null
,$unique_key
= null
$function_name
,$workload
,$context
= null
,$unique_key
= null