Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 7324

php-manual-en-7.2.11-1.mga7.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Run a single low priority task</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="gearmanclient.dojobhandle.html">GearmanClient::doJobHandle</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="gearmanclient.dolowbackground.html">GearmanClient::doLowBackground</a></div>
 <div class="up"><a href="class.gearmanclient.html">GearmanClient</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="gearmanclient.dolow" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">GearmanClient::doLow</h1>
  <p class="verinfo">(PECL gearman &gt;= 0.5.0)</p><p class="refpurpose"><span class="refname">GearmanClient::doLow</span> &mdash; <span class="dc-title">Run a single low priority task</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-gearmanclient.dolow-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">string</span> <span class="methodname"><strong>GearmanClient::doLow</strong></span>
    ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$function_name</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$workload</code></span>
   [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$unique</code></span>
  ] )</div>

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


 <div class="refsect1 parameters" id="refsect1-gearmanclient.dolow-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    
     <dt>
<code class="parameter">function_name</code></dt>

     <dd>

      <p class="para">
       A registered function the worker is to execute
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">workload</code></dt>

     <dd>

      <p class="para">
       Serialized data to be processed
      </p>
     </dd>

    
    
     <dt>
<code class="parameter">unique</code></dt>

     <dd>

      <p class="para">
       A unique ID used to identify a particular task
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-gearmanclient.dolow-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   A string representing the results of running a task.
  </p>
 </div>


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


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="gearmanclient.dojobhandle.html">GearmanClient::doJobHandle</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="gearmanclient.dolowbackground.html">GearmanClient::doLowBackground</a></div>
 <div class="up"><a href="class.gearmanclient.html">GearmanClient</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>