downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

MongoConnectionException> <MongoCursorException
[edit] Last updated: Fri, 25 May 2012

view this page in

MongoCursorTimeoutException クラス

(バージョン情報なし。おそらく SVN 版にしか存在しないでしょう)

導入

クエリのタイムアウトで発生します。 この例外がスローされるようになるまでの時間の長さを設定することができます。 そのためには、MongoCursor::timeout() をカーソルで実行するか、 あるいは MongoCursor::$timeout を設定します。 静的変数を設定する方法は、データベースコマンドや MongoCollection::findOne() のようなクエリで便利です。 これらはどちらもカーソルの内部で暗黙的に使うからです。

クラス概要



add a note add a note User Contributed Notes MongoCursorTimeoutException
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites