Class MongoTracingCommandListener

  • All Implemented Interfaces:
    com.mongodb.event.CommandListener

    public class MongoTracingCommandListener
    extends Object
    implements com.mongodb.event.CommandListener
    Command Listener for Mongo client delegated to TracingCommandListener.
    • Constructor Detail

      • MongoTracingCommandListener

        public MongoTracingCommandListener()
    • Method Detail

      • commandStarted

        public void commandStarted​(com.mongodb.event.CommandStartedEvent event)
        Specified by:
        commandStarted in interface com.mongodb.event.CommandListener
      • commandFailed

        public void commandFailed​(com.mongodb.event.CommandFailedEvent event)
        Specified by:
        commandFailed in interface com.mongodb.event.CommandListener
      • commandSucceeded

        public void commandSucceeded​(com.mongodb.event.CommandSucceededEvent event)
        Specified by:
        commandSucceeded in interface com.mongodb.event.CommandListener