« MongoDB\Driver\Monitoring\CommandSubscriber::commandStarted
MongoDB\Driver\Monitoring\LogSubscriber »

MongoDB\Driver\Monitoring\CommandSubscriber::commandSucceeded

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandSubscriber::commandSucceeded — Notification method for a successful command

説明

abstract public function MongoDB\Driver\Monitoring\CommandSubscriber::commandSucceeded(MongoDB\Driver\Monitoring\CommandSucceededEvent $event): void

If the subscriber is registered, this method is called when a command succeeds.

パラメータ

event (MongoDB\Driver\Monitoring\CommandSucceededEvent)

An event object encapsulating information about the successful command.

戻り値

値を返しません。

エラー / 例外

参考

関連キーワード:
MongoDB   Driver   Monitoring   command   CommandSubscriber   event   method   successful   Notification   commandSucceeded   CommandSucceededEvent   subscriber   addSubscriber   Registers   monitoring   Manager   commandStarted   LogSubscriber   mongodb   abstract   registered   called   succeeds   encapsulating   information
関連する関数・ページ:
mongodb-driver-monitoring-commandsubscriber.commandstarted   mongodb-driver-monitoring-commandsubscriber.commandfailed   class.mongodb-driver-monitoring-commandsubscriber   mongodb-driver-monitoring-sdamsubscriber.serverheartbeatsucceeded   ref.monitoring.functions   mongodb.monitoring