File tree Expand file tree Collapse file tree 27 files changed +272
-302
lines changed
Expand file tree Collapse file tree 27 files changed +272
-302
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: b1ef3427055358ff6d092ddb0a8b5e748a7bbbb2 Maintainer: satoruyoshida Status: ready -->
4-
5- <reference xml : id =" class.apcuiterator" role =" class" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xmlns : xi =" http://www.w3.org/2001/XInclude" >
3+ <!-- EN-Revision: 804d8a05451c13328eb1192553dcb2374706cabb Maintainer: satoruyoshida Status: ready -->
4+ <reference xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xmlns : xi =" http://www.w3.org/2001/XInclude" xml : id =" class.apcuiterator" role =" class" >
65
76 <title >APCUIterator クラス</title >
87 <titleabbrev >APCUIterator</titleabbrev >
1211<!-- {{{ APCUIterator intro -->
1312 <section xml : id =" apcuiterator.intro" >
1413 &reftitle.intro;
15- <para >
14+ <simpara >
1615 <classname >APCUIterator</classname > クラスを使うと、巨大な
1716 APCu キャッシュの反復処理を容易に行えます。
1817 巨大なキャッシュを順を追って処理し、
2120 のエントリを取り込むのではなく、
2221 キャッシュのロックを解放して他の操作ができる状態にすることが可能です。
2322 また、正規表現によるマッチングは C 言語レベルで行われるのでより効率的です。
24- </para >
23+ </simpara >
2524 </section >
2625<!-- }}} -->
2726
3736 <ooclass >
3837 <classname >APCUIterator</classname >
3938 </ooclass >
40-
39+
4140 <oointerface >
4241 <interfacename >Iterator</interfacename >
4342 </oointerface >
4443
4544 </classsynopsisinfo >
4645<!-- }}} -->
47-
46+
4847 <classsynopsisinfo role =" comment" >&Methods; </classsynopsisinfo >
4948 <xi : include xpointer =" xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.apcuiterator')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])" >
5049 <xi : fallback />
6362 &reference.apcu.entities.apcuiterator;
6463
6564</reference >
66-
6765<!-- Keep this comment at the end of the file
6866Local variables:
6967mode: sgml
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 9d0ec238db7e3ec3c2b9339a3b54aade06f23fe4 Maintainer: satoruyoshida Status: ready -->
3+ <!-- EN-Revision: 804d8a05451c13328eb1192553dcb2374706cabb Maintainer: satoruyoshida Status: ready -->
44<refentry xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id =" apcuiterator.construct" >
55 <refnamediv >
66 <refname >APCUIterator::__construct</refname >
1616 <methodparam choice =" opt" ><type >int</type ><parameter >chunk_size</parameter ><initializer >100</initializer ></methodparam >
1717 <methodparam choice =" opt" ><type >int</type ><parameter >list</parameter ><initializer >APC_LIST_ACTIVE</initializer ></methodparam >
1818 </constructorsynopsis >
19- <para >
19+ <simpara >
2020 <classname >APCUIterator</classname > オブジェクトを作成します。
21- </para >
21+ </simpara >
2222 </refsect1 >
2323
2424 <refsect1 role =" parameters" >
2727 <varlistentry >
2828 <term ><parameter >search</parameter ></term >
2929 <listitem >
30- <para >
30+ <simpara >
3131 単一の文字列を指定する場合、APCu のキーの名前にマッチする
3232 <link linkend =" book.pcre" >PCRE</link > 正規表現を指定します。
3333 配列を指定した場合は、APCu のキーの名前を指定します。
3434 &null; を渡すと、検索をスキップします。
35- </para >
35+ </simpara >
3636 </listitem >
3737 </varlistentry >
3838 <varlistentry >
3939 <term ><parameter >format</parameter ></term >
4040 <listitem >
41- <para >
41+ <simpara >
4242 希望する書式。
4343 <link linkend =" apcu.constants" >APC_ITER_*</link > 定数の組み合わせで指定します。
44- </para >
44+ </simpara >
4545 </listitem >
4646 </varlistentry >
4747 <varlistentry >
4848 <term ><parameter >chunk_size</parameter ></term >
4949 <listitem >
50- <para >
50+ <simpara >
5151 チャンクサイズ。0 より大きい値でなければなりません。
5252 デフォルト値は 100 です。
53- </para >
53+ </simpara >
5454 </listitem >
5555 </varlistentry >
5656 <varlistentry >
5757 <term ><parameter >list</parameter ></term >
5858 <listitem >
59- <para >
59+ <simpara >
6060 一覧にする形式。<constant >APC_LIST_ACTIVE</constant >
6161 あるいは <constant >APC_LIST_DELETED</constant > を渡します。
62- </para >
62+ </simpara >
6363 </listitem >
6464 </varlistentry >
6565 </variablelist >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: e9366ee458b2900c53a503b1ad97664e1d9a8859 Maintainer: satoruyoshida Status: ready -->
4-
5- <refentry xml : id =" apcuiterator.current" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
3+ <!-- EN-Revision: 804d8a05451c13328eb1192553dcb2374706cabb Maintainer: satoruyoshida Status: ready -->
4+ <refentry xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id =" apcuiterator.current" >
65 <refnamediv >
76 <refname >APCUIterator::current</refname >
87 <refpurpose >現在の項目を取得する</refpurpose >
1211 &reftitle.description;
1312 <methodsynopsis >
1413 <modifier >public</modifier > <type >mixed</type ><methodname >APCUIterator::current</methodname >
15- <void />
14+ <void />
1615 </methodsynopsis >
17- <para >
16+ <simpara >
1817 <classname >APCUIterator</classname > から現在の項目を取得します。
19- </para >
18+ </simpara >
2019 </refsect1 >
2120
2221 <refsect1 role =" parameters" >
2625
2726 <refsect1 role =" returnvalues" >
2827 &reftitle.returnvalues;
29- <para >
28+ <simpara >
3029 成功した場合に現在の項目を返します。
3130 もう項目が存在しない場合や取得に失敗した場合は &false; を返します。
32- </para >
31+ </simpara >
3332 </refsect1 >
3433
3534 <refsect1 role =" seealso" >
4140 </refsect1 >
4241
4342</refentry >
44-
4543<!-- Keep this comment at the end of the file
4644Local variables:
4745mode: sgml
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 6ad0b03b45bb3055c03f79eb0647ede0876f8b36 Maintainer: satoruyoshida Status: ready -->
4-
5- <refentry xml : id =" apcuiterator.gettotalcount" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
3+ <!-- EN-Revision: 804d8a05451c13328eb1192553dcb2374706cabb Maintainer: satoruyoshida Status: ready -->
4+ <refentry xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id =" apcuiterator.gettotalcount" >
65 <refnamediv >
76 <refname >APCUIterator::getTotalCount</refname >
87 <refpurpose >総数を取得する</refpurpose >
1211 &reftitle.description;
1312 <methodsynopsis >
1413 <modifier >public</modifier > <type >int</type ><methodname >APCUIterator::getTotalCount</methodname >
15- <void />
14+ <void />
1615 </methodsynopsis >
17- <para >
16+ <simpara >
1817 総数を取得します。
19- </para >
18+ </simpara >
2019
2120 &warn.undocumented.func;
2221
2928
3029 <refsect1 role =" returnvalues" >
3130 &reftitle.returnvalues;
32- <para >
31+ <simpara >
3332 総数を返します。
34- </para >
33+ </simpara >
3534 </refsect1 >
3635
3736 <refsect1 role =" seealso" >
4443 </refsect1 >
4544
4645</refentry >
47-
4846<!-- Keep this comment at the end of the file
4947Local variables:
5048mode: sgml
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: e41806c30bf6975e452c0d4ce35ab0984c2fa68c Maintainer: satoruyoshida Status: ready -->
4-
5- <refentry xml : id =" apcuiterator.gettotalhits" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
3+ <!-- EN-Revision: 804d8a05451c13328eb1192553dcb2374706cabb Maintainer: satoruyoshida Status: ready -->
4+ <refentry xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id =" apcuiterator.gettotalhits" >
65 <refnamediv >
76 <refname >APCUIterator::getTotalHits</refname >
87 <refpurpose >キャッシュヒットの総数を取得する</refpurpose >
1211 &reftitle.description;
1312 <methodsynopsis >
1413 <modifier >public</modifier > <type >int</type ><methodname >APCUIterator::getTotalHits</methodname >
15- <void />
14+ <void />
1615 </methodsynopsis >
17- <para >
16+ <simpara >
1817 キャッシュヒットの総数を取得します。
19- </para >
18+ </simpara >
2019
2120 &warn.undocumented.func;
2221
2928
3029 <refsect1 role =" returnvalues" >
3130 &reftitle.returnvalues;
32- <para >
31+ <simpara >
3332 成功した場合にヒット数、失敗した場合に &false; を返します。
34- </para >
33+ </simpara >
3534 </refsect1 >
3635
3736 <refsect1 role =" seealso" >
4443 </refsect1 >
4544
4645</refentry >
47-
4846<!-- Keep this comment at the end of the file
4947Local variables:
5048mode: sgml
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: e9366ee458b2900c53a503b1ad97664e1d9a8859 Maintainer: satoruyoshida Status: ready -->
4-
5- <refentry xml : id =" apcuiterator.gettotalsize" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
3+ <!-- EN-Revision: 804d8a05451c13328eb1192553dcb2374706cabb Maintainer: satoruyoshida Status: ready -->
4+ <refentry xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id =" apcuiterator.gettotalsize" >
65 <refnamediv >
76 <refname >APCUIterator::getTotalSize</refname >
87 <refpurpose >キャッシュのサイズの合計を取得する</refpurpose >
1211 &reftitle.description;
1312 <methodsynopsis >
1413 <modifier >public</modifier > <type >int</type ><methodname >APCUIterator::getTotalSize</methodname >
15- <void />
14+ <void />
1615 </methodsynopsis >
17- <para >
16+ <simpara >
1817 キャッシュのサイズの合計を取得します。
19- </para >
18+ </simpara >
2019
2120 &warn.undocumented.func;
2221
2928
3029 <refsect1 role =" returnvalues" >
3130 &reftitle.returnvalues;
32- <para >
31+ <simpara >
3332 キャッシュのサイズの合計を返します。
34- </para >
33+ </simpara >
3534 </refsect1 >
3635
3736 <refsect1 role =" seealso" >
4443 </refsect1 >
4544
4645</refentry >
47-
4846<!-- Keep this comment at the end of the file
4947Local variables:
5048mode: sgml
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 4754397753fd79f1c846868b66a2448babab1c54 Maintainer: satoruyoshida Status: ready -->
4-
5- <refentry xml : id =" apcuiterator.key" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
3+ <!-- EN-Revision: 804d8a05451c13328eb1192553dcb2374706cabb Maintainer: satoruyoshida Status: ready -->
4+ <refentry xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id =" apcuiterator.key" >
65 <refnamediv >
76 <refname >APCUIterator::key</refname >
87 <refpurpose >イテレータのキーを取得する</refpurpose >
1211 &reftitle.description;
1312 <methodsynopsis >
1413 <modifier >public</modifier > <type >string</type ><methodname >APCUIterator::key</methodname >
15- <void />
14+ <void />
1615 </methodsynopsis >
17- <para >
16+ <simpara >
1817 現在のイテレータのキーを取得します。
19- </para >
18+ </simpara >
2019 </refsect1 >
2120
2221 <refsect1 role =" parameters" >
2625
2726 <refsect1 role =" returnvalues" >
2827 &reftitle.returnvalues;
29- <para >
28+ <simpara >
3029 成功した場合にキー、失敗した場合に &false; を返します。
31- </para >
30+ </simpara >
3231 </refsect1 >
3332
3433 <refsect1 role =" seealso" >
4039 </refsect1 >
4140
4241</refentry >
43-
4442<!-- Keep this comment at the end of the file
4543Local variables:
4644mode: sgml
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: ad7884c477b77c9a523ceef5ad7dffeaf11a4246 Maintainer: satoruyoshida Status: ready -->
4-
5- <refentry xml : id =" apcuiterator.next" xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" >
3+ <!-- EN-Revision: 804d8a05451c13328eb1192553dcb2374706cabb Maintainer: satoruyoshida Status: ready -->
4+ <refentry xmlns =" http://docbook.org/ns/docbook" xmlns : xlink =" http://www.w3.org/1999/xlink" xml : id =" apcuiterator.next" >
65 <refnamediv >
76 <refname >APCUIterator::next</refname >
87 <refpurpose >ポインタを次の項目に移動させる</refpurpose >
1211 &reftitle.description;
1312 <methodsynopsis >
1413 <modifier >public</modifier > <type >bool</type ><methodname >APCUIterator::next</methodname >
15- <void />
14+ <void />
1615 </methodsynopsis >
17- <para >
16+ <simpara >
1817 イテレータのポインタを次の要素に移動させます。
19- </para >
18+ </simpara >
2019 </refsect1 >
2120
2221 <refsect1 role =" parameters" >
2625
2726 <refsect1 role =" returnvalues" >
2827 &reftitle.returnvalues;
29- <para >
28+ <simpara >
3029 &return.success;
31- </para >
30+ </simpara >
3231 </refsect1 >
3332
3433 <refsect1 role =" seealso" >
4140 </refsect1 >
4241
4342</refentry >
44-
4543<!-- Keep this comment at the end of the file
4644Local variables:
4745mode: sgml
You can’t perform that action at this time.
0 commit comments