reference/gearman/gearmanclient/addtaskhighbackground.xml
3c0b61c45a5dabe46865510311e57b77ea3dddb7
...
...
@@ -1,6 +1,5 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-

4
3
<refentry xml:id="gearmanclient.addtaskhighbackground" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
4
<refnamediv>
6
5
<refname>GearmanClient::addTaskHighBackground</refname>
...
...
@@ -9,12 +8,12 @@
9
8

10
9
<refsect1 role="description">
11
10
&reftitle.description;
12
-
<methodsynopsis>
13
-
<modifier>public</modifier> <type>GearmanTask</type><methodname>GearmanClient::addTaskHighBackground</methodname>
11
+
<methodsynopsis role="GearmanClient">
12
+
<modifier>public</modifier> <type class="union"><type>GearmanTask</type><type>false</type></type><methodname>GearmanClient::addTaskHighBackground</methodname>
14
13
<methodparam><type>string</type><parameter>function_name</parameter></methodparam>
15
-
<methodparam><type>string</type><parameter>workload</parameter></methodparam>
16
-
<methodparam choice="opt"><type>mixed</type><parameter role="reference">context</parameter></methodparam>
17
-
<methodparam choice="opt"><type>string</type><parameter>unique</parameter></methodparam>
14
+
<methodparam><type class="union"><type>string</type><type>int</type><type>float</type></type><parameter>workload</parameter></methodparam>
15
+
<methodparam choice="opt"><type>mixed</type><parameter>context</parameter><initializer>&null;</initializer></methodparam>
16
+
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>unique_key</parameter><initializer>&null;</initializer></methodparam>
18
17
</methodsynopsis>
19
18
<para>
20
19
Adds a high priority background task to be run in parallel with other tasks.
...
...
@@ -53,7 +52,7 @@
53
52
</listitem>
54
53
</varlistentry>
55
54
<varlistentry>
56
-
<term><parameter>unique</parameter></term>
55
+
<term><parameter>unique_key</parameter></term>
57
56
<listitem>
58
57
<para>
59
58
&gearman.parameter.unique;
...
...
@@ -86,7 +85,6 @@
86
85
</refsect1>
87
86

88
87
</refentry>
89
-

90
88
<!-- Keep this comment at the end of the file
91
89
Local variables:
92
90
mode: sgml
93
91