<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.gearmanclient.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'gearmanclient.dohigh.php',
    1 => 'GearmanClient::doHigh',
    2 => 'Run a single high priority task',
  ),
  'up' => 
  array (
    0 => 'class.gearmanclient.php',
    1 => 'GearmanClient',
  ),
  'prev' => 
  array (
    0 => 'gearmanclient.dobackground.php',
    1 => 'GearmanClient::doBackground',
  ),
  'next' => 
  array (
    0 => 'gearmanclient.dohighbackground.php',
    1 => 'GearmanClient::doHighBackground',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/gearman/gearmanclient/dohigh.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="gearmanclient.dohigh" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">GearmanClient::doHigh</h1>
  <p class="verinfo">(PECL gearman &gt;= 0.5.0)</p><p class="refpurpose"><span class="refname">GearmanClient::doHigh</span> &mdash; <span class="dc-title">Run a single high priority task</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-gearmanclient.dohigh-description">
  <h3 class="title">Beschreibung</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>GearmanClient::doHigh</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$function</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$workload</code></span>, <span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$unique</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="simpara">
   Runs a single high priority task and returns a string representation of the result.  It is up to
   the <span class="classname"><a href="class.gearmanclient.php" class="classname">GearmanClient</a></span> and <span class="classname"><a href="class.gearmanworker.php" class="classname">GearmanWorker</a></span> to
   agree on the format of the result.  High priority tasks will get precedence over normal
   and low priority tasks in the job queue.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-gearmanclient.dohigh-parameters">
  <h3 class="title">Parameter-Liste</h3>
  <dl>
   
    <dt><code class="parameter">function</code></dt>
    <dd>
     <span class="simpara">
      Die registrierte Funktion, die der Worker ausführen soll
     </span>
    </dd>
   
   
    <dt><code class="parameter">workload</code></dt>
    <dd>
     <span class="simpara">
      Serialisierte Daten, die verarbeitet werden sollen
     </span>
    </dd>
   
   
    <dt><code class="parameter">unique</code></dt>
    <dd>
     <span class="simpara">
      Eine eindeutige ID, die einen bestimmten Task identifiziert
     </span>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-gearmanclient.dohigh-returnvalues">
  <h3 class="title">Rückgabewerte</h3>
  <p class="simpara">
   A string representing the results of running a task.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-gearmanclient.dohigh-seealso">
  <h3 class="title">Siehe auch</h3>
  <ul class="simplelist">
   <li><span class="methodname"><a href="gearmanclient.donormal.php" class="methodname" rel="rdfs-seeAlso">GearmanClient::doNormal()</a> - Run a single task and return a result</span></li>
   <li><span class="methodname"><a href="gearmanclient.dolow.php" class="methodname" rel="rdfs-seeAlso">GearmanClient::doLow()</a> - Run a single low priority task</span></li>
   <li><span class="methodname"><a href="gearmanclient.dobackground.php" class="methodname" rel="rdfs-seeAlso">GearmanClient::doBackground()</a> - Run a task in the background</span></li>
   <li><span class="methodname"><a href="gearmanclient.dohighbackground.php" class="methodname" rel="rdfs-seeAlso">GearmanClient::doHighBackground()</a> - Run a high priority task in the background</span></li>
   <li><span class="methodname"><a href="gearmanclient.dolowbackground.php" class="methodname" rel="rdfs-seeAlso">GearmanClient::doLowBackground()</a> - Run a low priority task in the background</span></li>
  </ul>
 </div>


</div><?php manual_footer($setup); ?>