The MongoDB\Driver\Monitoring\CommandFailedEvent class

(mongodb >=1.3.0)

简介

The MongoDB\Driver\Monitoring\CommandFailedEvent class encapsulates information about a failed command.

类摘要

final MongoDB\Driver\Monitoring\CommandFailedEvent {
/* 方法 */
final public getCommandName ( void ) : string
final public getDurationMicros ( void ) : int
final public getError ( void ) : Exception
final public getOperationId ( void ) : string
final public getReply ( void ) : object
final public getRequestId ( void ) : string
final public getServer ( void ) : MongoDB\Driver\Server
}

Table of Contents

相关文章
php mongodb driver exception the mongodb driver exception bulkwriteexception classphp mongodb driver exception the mongodb driver exception connectionexception classphp mongodb driver exception the mongodb driver exception connectiontimeoutexception classphp mongodb driver monitoring the mongodb driver monitoring commandfailedevent classphp mongodb driver monitoring the mongodb driver monitoring commandstartedevent classphp mongodb driver monitoring the mongodb driver monitoring commandsucceededevent classphp mongodb driver monitoring the mongodb driver monitoring subscriber interfacephp mongodb driver the mongodb driver query classphp mongodb driver the mongodb driver readconcern classphp mongodb driver the mongodb driver readpreference classphp mongodb driver monitoring commandfailedevent returns the command namephp mongodb driver monitoring commandfailedevent returns the command s duration in microsecondsphp mongodb driver monitoring commandfailedevent returns the exception associated with the failed commandphp mongodb driver monitoring commandfailedevent returns the command s operation idphp mongodb driver monitoring commandfailedevent returns the command reply documentphp mongodb driver monitoring commandfailedevent returns the command s request idphp mongodb driver monitoring commandfailedevent returns the server on which the command was executedphp mongodb driver monitoring commandsubscriber notification method for a started commandphp mongodb driver monitoring commandsubscriber notification method for a successful commandphp mongodb driver monitoring commandsucceededevent returns the command name
关注编程学问公众号