log_killcursor
(PECL mongo >= 1.5.0)
log_killcursor — Callback When Executing KILLCURSOR operations
説明
log_killcursor
( array $server
, array $info
)
A callable function, used by the log_killcursor context option, when reading a killcursor from MongoDB.
注意:
This is not a real function, only a prototype of how the function should be.
パラメータ
server
選んだサーバーについての基本情報を含む配列。
キー 値 hash ハーバーハッシュ。例: localhost:27017;-;X;56052
type ノード型 (primary/secondary/mongos/arbiter)。例: 2
max_bson_size このノードがネットワーク越しに受け付ける BSON の最大サイズ。例: 16777216
max_message_size このノードがネットワーク越しに受け入れるメッセージの最大サイズ。例: 48000000
request_id このメッセージのリクエスト識別子。例: 42
info
- {| ! key ! value |- | cursor_id | integer, the cursor identifier to kill |}