File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -1487,6 +1487,47 @@ STREAM モードのいくつかのアルゴリズムの初期化の際に使用
14871487
14881488<!ENTITY gearman.parameter.jobhandle 'Gearman サーバーが割り当てたジョブハンドル。'>
14891489
1490+ <!ENTITY gearman.parameter.callback '<varlistentry xmlns =" http://docbook.org/ns/docbook" >
1491+ <term ><parameter >callback</parameter ></term >
1492+ <listitem >
1493+ <para >
1494+ 呼び出す関数またはメソッド。有効な <link linkend =" gearman.constants" >Gearmanの値</link > を返す必要があります。
1495+ </para >
1496+ <para >
1497+ return ステートメントが存在しない場合、デフォルトで <constant >GEARMAN_SUCCESS</constant > が返されます。
1498+ </para >
1499+ <methodsynopsis >
1500+ <type >int</type ><methodname ><replaceable >callback</replaceable ></methodname >
1501+ <methodparam ><type >GearmanTask</type ><parameter >task</parameter ></methodparam >
1502+ <methodparam ><type >mixed</type ><parameter >context</parameter ></methodparam >
1503+ </methodsynopsis >
1504+ <variablelist >
1505+ <varlistentry >
1506+ <term ><parameter >task</parameter ></term >
1507+ <listitem >
1508+ <para >
1509+ このコールバックが呼び出されるタスク。
1510+ </para >
1511+ </listitem >
1512+ </varlistentry >
1513+ <varlistentry >
1514+ <term ><parameter >context</parameter ></term >
1515+ <listitem >
1516+ <para >
1517+ <methodname >GearmanClient::addTask</methodname > (または同等のメソッド) に <parameter >context</parameter > として渡されたもの。
1518+ </para >
1519+ </listitem >
1520+ </varlistentry >
1521+ </variablelist >
1522+ </listitem >
1523+ </varlistentry >'>
1524+
1525+ <!ENTITY gearman.note.callback '<note xmlns =" http://docbook.org/ns/docbook" >
1526+ <para >
1527+ この callback は、このメソッドを呼び出した後に追加されたタスク(例: <methodname >GearmanClient::addTask</methodname > を呼び出して追加されたタスク)に対してのみ実行されます。
1528+ </para >
1529+ </note >'>
1530+
14901531<!-- Date and time entities -->
14911532<!ENTITY date.timezone.intro.title '<title xmlns =" http://docbook.org/ns/docbook" >サポートされるタイムゾーンのリスト</title >'>
14921533
You can’t perform that action at this time.
0 commit comments