class com.mongodb.internal.connection.LoggingCommandEventSender implements com.mongodb.internal.connection.CommandEventSender
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.mongodb.internal.connection.LoggingCommandEventSender
  super_class: java.lang.Object
{
  private static final int MAX_COMMAND_DOCUMENT_LENGTH_TO_LOG;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1000

  private final java.util.Set<java.lang.String> securitySensitiveCommands;
    descriptor: Ljava/util/Set;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Set<Ljava/lang/String;>;

  private final com.mongodb.connection.ConnectionDescription description;
    descriptor: Lcom/mongodb/connection/ConnectionDescription;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final com.mongodb.event.CommandListener commandListener;
    descriptor: Lcom/mongodb/event/CommandListener;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final com.mongodb.diagnostics.logging.Logger logger;
    descriptor: Lcom/mongodb/diagnostics/logging/Logger;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final long startTimeNanos;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final com.mongodb.internal.connection.CommandMessage message;
    descriptor: Lcom/mongodb/internal/connection/CommandMessage;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String commandName;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private volatile org.bson.BsonDocument commandDocument;
    descriptor: Lorg/bson/BsonDocument;
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  void <init>(java.util.Set<java.lang.String>, com.mongodb.connection.ConnectionDescription, com.mongodb.event.CommandListener, com.mongodb.internal.connection.CommandMessage, com.mongodb.connection.ByteBufferBsonOutput, com.mongodb.diagnostics.logging.Logger);
    descriptor: (Ljava/util/Set;Lcom/mongodb/connection/ConnectionDescription;Lcom/mongodb/event/CommandListener;Lcom/mongodb/internal/connection/CommandMessage;Lcom/mongodb/connection/ByteBufferBsonOutput;Lcom/mongodb/diagnostics/logging/Logger;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=7, args_size=7
        start local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
        start local 1 // java.util.Set securitySensitiveCommands
        start local 2 // com.mongodb.connection.ConnectionDescription description
        start local 3 // com.mongodb.event.CommandListener commandListener
        start local 4 // com.mongodb.internal.connection.CommandMessage message
        start local 5 // com.mongodb.connection.ByteBufferBsonOutput bsonOutput
        start local 6 // com.mongodb.diagnostics.logging.Logger logger
         0: .line 52
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 55
            aload 0 /* this */
            aload 1 /* securitySensitiveCommands */
            putfield com.mongodb.internal.connection.LoggingCommandEventSender.securitySensitiveCommands:Ljava/util/Set;
         2: .line 56
            aload 0 /* this */
            aload 2 /* description */
            putfield com.mongodb.internal.connection.LoggingCommandEventSender.description:Lcom/mongodb/connection/ConnectionDescription;
         3: .line 57
            aload 0 /* this */
            aload 3 /* commandListener */
            putfield com.mongodb.internal.connection.LoggingCommandEventSender.commandListener:Lcom/mongodb/event/CommandListener;
         4: .line 58
            aload 0 /* this */
            aload 6 /* logger */
            putfield com.mongodb.internal.connection.LoggingCommandEventSender.logger:Lcom/mongodb/diagnostics/logging/Logger;
         5: .line 59
            aload 0 /* this */
            invokestatic java.lang.System.nanoTime:()J
            putfield com.mongodb.internal.connection.LoggingCommandEventSender.startTimeNanos:J
         6: .line 60
            aload 0 /* this */
            aload 4 /* message */
            putfield com.mongodb.internal.connection.LoggingCommandEventSender.message:Lcom/mongodb/internal/connection/CommandMessage;
         7: .line 61
            aload 0 /* this */
            aload 4 /* message */
            aload 5 /* bsonOutput */
            invokevirtual com.mongodb.internal.connection.CommandMessage.getCommandDocument:(Lcom/mongodb/connection/ByteBufferBsonOutput;)Lorg/bson/BsonDocument;
            putfield com.mongodb.internal.connection.LoggingCommandEventSender.commandDocument:Lorg/bson/BsonDocument;
         8: .line 62
            aload 0 /* this */
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.commandDocument:Lorg/bson/BsonDocument;
            invokevirtual org.bson.BsonDocument.getFirstKey:()Ljava/lang/String;
            putfield com.mongodb.internal.connection.LoggingCommandEventSender.commandName:Ljava/lang/String;
         9: .line 63
            return
        end local 6 // com.mongodb.diagnostics.logging.Logger logger
        end local 5 // com.mongodb.connection.ByteBufferBsonOutput bsonOutput
        end local 4 // com.mongodb.internal.connection.CommandMessage message
        end local 3 // com.mongodb.event.CommandListener commandListener
        end local 2 // com.mongodb.connection.ConnectionDescription description
        end local 1 // java.util.Set securitySensitiveCommands
        end local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
      LocalVariableTable:
        Start  End  Slot                       Name  Signature
            0   10     0                       this  Lcom/mongodb/internal/connection/LoggingCommandEventSender;
            0   10     1  securitySensitiveCommands  Ljava/util/Set<Ljava/lang/String;>;
            0   10     2                description  Lcom/mongodb/connection/ConnectionDescription;
            0   10     3            commandListener  Lcom/mongodb/event/CommandListener;
            0   10     4                    message  Lcom/mongodb/internal/connection/CommandMessage;
            0   10     5                 bsonOutput  Lcom/mongodb/connection/ByteBufferBsonOutput;
            0   10     6                     logger  Lcom/mongodb/diagnostics/logging/Logger;
    Signature: (Ljava/util/Set<Ljava/lang/String;>;Lcom/mongodb/connection/ConnectionDescription;Lcom/mongodb/event/CommandListener;Lcom/mongodb/internal/connection/CommandMessage;Lcom/mongodb/connection/ByteBufferBsonOutput;Lcom/mongodb/diagnostics/logging/Logger;)V
    MethodParameters:
                           Name  Flags
      securitySensitiveCommands  final
      description                final
      commandListener            final
      message                    final
      bsonOutput                 final
      logger                     final

  public void sendStartedEvent();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=2, args_size=1
        start local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
         0: .line 67
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.LoggingCommandEventSender.loggingRequired:()Z
            ifeq 7
         1: .line 68
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.logger:Lcom/mongodb/diagnostics/logging/Logger;
         2: .line 69
            ldc "Sending command '%s' with request id %d to database %s on connection [%s] to server %s"
            iconst_5
            anewarray java.lang.Object
            dup
            iconst_0
         3: .line 70
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.LoggingCommandEventSender.getTruncatedJsonCommand:()Ljava/lang/String;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.message:Lcom/mongodb/internal/connection/CommandMessage;
            invokevirtual com.mongodb.internal.connection.CommandMessage.getId:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_2
         4: .line 71
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.message:Lcom/mongodb/internal/connection/CommandMessage;
            invokevirtual com.mongodb.internal.connection.CommandMessage.getNamespace:()Lcom/mongodb/MongoNamespace;
            invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
            aastore
            dup
            iconst_3
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.description:Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.connection.ConnectionDescription.getConnectionId:()Lcom/mongodb/connection/ConnectionId;
            aastore
            dup
            iconst_4
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.description:Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.connection.ConnectionDescription.getServerAddress:()Lcom/mongodb/ServerAddress;
            aastore
         5: .line 69
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
         6: .line 68
            invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;)V
         7: .line 74
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.LoggingCommandEventSender.eventRequired:()Z
            ifeq 15
         8: .line 75
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.securitySensitiveCommands:Ljava/util/Set;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.commandName:Ljava/lang/String;
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifeq 10
         9: .line 76
            new org.bson.BsonDocument
            dup
            invokespecial org.bson.BsonDocument.<init>:()V
            goto 11
      StackMap locals:
      StackMap stack:
        10: aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.commandDocument:Lorg/bson/BsonDocument;
        11: .line 75
      StackMap locals:
      StackMap stack: org.bson.BsonDocument
            astore 1 /* commandDocumentForEvent */
        start local 1 // org.bson.BsonDocument commandDocumentForEvent
        12: .line 78
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.message:Lcom/mongodb/internal/connection/CommandMessage;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.message:Lcom/mongodb/internal/connection/CommandMessage;
            invokevirtual com.mongodb.internal.connection.CommandMessage.getNamespace:()Lcom/mongodb/MongoNamespace;
            invokevirtual com.mongodb.MongoNamespace.getDatabaseName:()Ljava/lang/String;
        13: .line 79
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.commandName:Ljava/lang/String;
            aload 1 /* commandDocumentForEvent */
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.description:Lcom/mongodb/connection/ConnectionDescription;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.commandListener:Lcom/mongodb/event/CommandListener;
        14: .line 78
            invokestatic com.mongodb.internal.connection.ProtocolHelper.sendCommandStartedEvent:(Lcom/mongodb/internal/connection/RequestMessage;Ljava/lang/String;Ljava/lang/String;Lorg/bson/BsonDocument;Lcom/mongodb/connection/ConnectionDescription;Lcom/mongodb/event/CommandListener;)V
        end local 1 // org.bson.BsonDocument commandDocumentForEvent
        15: .line 83
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield com.mongodb.internal.connection.LoggingCommandEventSender.commandDocument:Lorg/bson/BsonDocument;
        16: .line 84
            return
        end local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
      LocalVariableTable:
        Start  End  Slot                     Name  Signature
            0   17     0                     this  Lcom/mongodb/internal/connection/LoggingCommandEventSender;
           12   15     1  commandDocumentForEvent  Lorg/bson/BsonDocument;

  private java.lang.String getTruncatedJsonCommand();
    descriptor: ()Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=6, args_size=1
        start local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
         0: .line 87
            new java.io.StringWriter
            dup
            invokespecial java.io.StringWriter.<init>:()V
            astore 1 /* writer */
        start local 1 // java.io.StringWriter writer
         1: .line 89
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.commandDocument:Lorg/bson/BsonDocument;
            invokevirtual org.bson.BsonDocument.asBsonReader:()Lorg/bson/BsonReader;
            astore 2 /* bsonReader */
        start local 2 // org.bson.BsonReader bsonReader
         2: .line 91
            new org.bson.json.JsonWriter
            dup
            aload 1 /* writer */
         3: .line 92
            invokestatic org.bson.json.JsonWriterSettings.builder:()Lorg/bson/json/JsonWriterSettings$Builder;
            getstatic org.bson.json.JsonMode.RELAXED:Lorg/bson/json/JsonMode;
            invokevirtual org.bson.json.JsonWriterSettings$Builder.outputMode:(Lorg/bson/json/JsonMode;)Lorg/bson/json/JsonWriterSettings$Builder;
            sipush 1000
            invokevirtual org.bson.json.JsonWriterSettings$Builder.maxLength:(I)Lorg/bson/json/JsonWriterSettings$Builder;
            invokevirtual org.bson.json.JsonWriterSettings$Builder.build:()Lorg/bson/json/JsonWriterSettings;
         4: .line 91
            invokespecial org.bson.json.JsonWriter.<init>:(Ljava/io/Writer;Lorg/bson/json/JsonWriterSettings;)V
            astore 3 /* jsonWriter */
        start local 3 // org.bson.json.JsonWriter jsonWriter
         5: .line 94
            aload 3 /* jsonWriter */
            aload 2 /* bsonReader */
            invokevirtual org.bson.json.JsonWriter.pipe:(Lorg/bson/BsonReader;)V
         6: .line 96
            aload 3 /* jsonWriter */
            invokevirtual org.bson.json.JsonWriter.isTruncated:()Z
            ifeq 8
         7: .line 97
            aload 1 /* writer */
            ldc " ..."
            invokevirtual java.io.StringWriter.append:(Ljava/lang/CharSequence;)Ljava/io/StringWriter;
            pop
         8: .line 100
      StackMap locals: java.io.StringWriter org.bson.BsonReader org.bson.json.JsonWriter
      StackMap stack:
            aload 1 /* writer */
            invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
            astore 5
         9: .line 102
            aload 2 /* bsonReader */
            invokeinterface org.bson.BsonReader.close:()V
        10: .line 100
            aload 5
            areturn
        end local 3 // org.bson.json.JsonWriter jsonWriter
        11: .line 101
      StackMap locals: com.mongodb.internal.connection.LoggingCommandEventSender java.io.StringWriter org.bson.BsonReader
      StackMap stack: java.lang.Throwable
            astore 4
        12: .line 102
            aload 2 /* bsonReader */
            invokeinterface org.bson.BsonReader.close:()V
        13: .line 103
            aload 4
            athrow
        end local 2 // org.bson.BsonReader bsonReader
        end local 1 // java.io.StringWriter writer
        end local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   14     0        this  Lcom/mongodb/internal/connection/LoggingCommandEventSender;
            1   14     1      writer  Ljava/io/StringWriter;
            2   14     2  bsonReader  Lorg/bson/BsonReader;
            5   11     3  jsonWriter  Lorg/bson/json/JsonWriter;
      Exception table:
        from    to  target  type
           2     9      11  any

  public void sendFailedEvent(java.lang.Throwable);
    descriptor: (Ljava/lang/Throwable;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=5, args_size=2
        start local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
        start local 1 // java.lang.Throwable t
         0: .line 108
            aload 1 /* t */
            astore 2 /* commandEventException */
        start local 2 // java.lang.Throwable commandEventException
         1: .line 109
            aload 1 /* t */
            instanceof com.mongodb.MongoCommandException
            ifeq 3
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.securitySensitiveCommands:Ljava/util/Set;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.commandName:Ljava/lang/String;
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifeq 3
         2: .line 110
            new com.mongodb.MongoCommandException
            dup
            new org.bson.BsonDocument
            dup
            invokespecial org.bson.BsonDocument.<init>:()V
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.description:Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.connection.ConnectionDescription.getServerAddress:()Lcom/mongodb/ServerAddress;
            invokespecial com.mongodb.MongoCommandException.<init>:(Lorg/bson/BsonDocument;Lcom/mongodb/ServerAddress;)V
            astore 2 /* commandEventException */
         3: .line 112
      StackMap locals: java.lang.Throwable
      StackMap stack:
            invokestatic java.lang.System.nanoTime:()J
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.startTimeNanos:J
            lsub
            lstore 3 /* elapsedTimeNanos */
        start local 3 // long elapsedTimeNanos
         4: .line 114
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.LoggingCommandEventSender.loggingRequired:()Z
            ifeq 12
         5: .line 115
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.logger:Lcom/mongodb/diagnostics/logging/Logger;
         6: .line 116
            ldc "Execution of command with request id %d failed to complete successfully in %s ms on connection [%s] to server %s"
            iconst_4
            anewarray java.lang.Object
            dup
            iconst_0
         7: .line 118
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.message:Lcom/mongodb/internal/connection/CommandMessage;
            invokevirtual com.mongodb.internal.connection.CommandMessage.getId:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            lload 3 /* elapsedTimeNanos */
            invokevirtual com.mongodb.internal.connection.LoggingCommandEventSender.getElapsedTimeFormattedInMilliseconds:(J)Ljava/lang/String;
            aastore
            dup
            iconst_2
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.description:Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.connection.ConnectionDescription.getConnectionId:()Lcom/mongodb/connection/ConnectionId;
            aastore
            dup
            iconst_3
         8: .line 119
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.description:Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.connection.ConnectionDescription.getServerAddress:()Lcom/mongodb/ServerAddress;
            aastore
         9: .line 116
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
        10: .line 120
            aload 2 /* commandEventException */
        11: .line 115
            invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;Ljava/lang/Throwable;)V
        12: .line 123
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.LoggingCommandEventSender.eventRequired:()Z
            ifeq 14
        13: .line 124
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.message:Lcom/mongodb/internal/connection/CommandMessage;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.commandName:Ljava/lang/String;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.description:Lcom/mongodb/connection/ConnectionDescription;
            lload 3 /* elapsedTimeNanos */
            aload 2 /* commandEventException */
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.commandListener:Lcom/mongodb/event/CommandListener;
            invokestatic com.mongodb.internal.connection.ProtocolHelper.sendCommandFailedEvent:(Lcom/mongodb/internal/connection/RequestMessage;Ljava/lang/String;Lcom/mongodb/connection/ConnectionDescription;JLjava/lang/Throwable;Lcom/mongodb/event/CommandListener;)V
        14: .line 126
      StackMap locals:
      StackMap stack:
            return
        end local 3 // long elapsedTimeNanos
        end local 2 // java.lang.Throwable commandEventException
        end local 1 // java.lang.Throwable t
        end local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0   15     0                   this  Lcom/mongodb/internal/connection/LoggingCommandEventSender;
            0   15     1                      t  Ljava/lang/Throwable;
            1   15     2  commandEventException  Ljava/lang/Throwable;
            4   15     3       elapsedTimeNanos  J
    MethodParameters:
      Name  Flags
      t     final

  public void sendSucceededEvent(com.mongodb.internal.connection.ResponseBuffers);
    descriptor: (Lcom/mongodb/internal/connection/ResponseBuffers;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=5, args_size=2
        start local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
        start local 1 // com.mongodb.internal.connection.ResponseBuffers responseBuffers
         0: .line 130
            invokestatic java.lang.System.nanoTime:()J
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.startTimeNanos:J
            lsub
            lstore 2 /* elapsedTimeNanos */
        start local 2 // long elapsedTimeNanos
         1: .line 132
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.LoggingCommandEventSender.loggingRequired:()Z
            ifeq 8
         2: .line 133
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.logger:Lcom/mongodb/diagnostics/logging/Logger;
         3: .line 134
            ldc "Execution of command with request id %d completed successfully in %s ms on connection [%s] to server %s"
            iconst_4
            anewarray java.lang.Object
            dup
            iconst_0
         4: .line 135
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.message:Lcom/mongodb/internal/connection/CommandMessage;
            invokevirtual com.mongodb.internal.connection.CommandMessage.getId:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            lload 2 /* elapsedTimeNanos */
            invokevirtual com.mongodb.internal.connection.LoggingCommandEventSender.getElapsedTimeFormattedInMilliseconds:(J)Ljava/lang/String;
            aastore
            dup
            iconst_2
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.description:Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.connection.ConnectionDescription.getConnectionId:()Lcom/mongodb/connection/ConnectionId;
            aastore
            dup
            iconst_3
         5: .line 136
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.description:Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.connection.ConnectionDescription.getServerAddress:()Lcom/mongodb/ServerAddress;
            aastore
         6: .line 134
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
         7: .line 133
            invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;)V
         8: .line 139
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.LoggingCommandEventSender.eventRequired:()Z
            ifeq 16
         9: .line 140
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.securitySensitiveCommands:Ljava/util/Set;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.commandName:Ljava/lang/String;
            invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
            ifeq 11
        10: .line 141
            new org.bson.BsonDocument
            dup
            invokespecial org.bson.BsonDocument.<init>:()V
            goto 12
        11: .line 142
      StackMap locals:
      StackMap stack:
            aload 1 /* responseBuffers */
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.message:Lcom/mongodb/internal/connection/CommandMessage;
            invokevirtual com.mongodb.internal.connection.CommandMessage.getId:()I
            new org.bson.codecs.RawBsonDocumentCodec
            dup
            invokespecial org.bson.codecs.RawBsonDocumentCodec.<init>:()V
            invokevirtual com.mongodb.internal.connection.ResponseBuffers.getResponseDocument:(ILorg/bson/codecs/Decoder;)Lorg/bson/BsonDocument;
        12: .line 140
      StackMap locals:
      StackMap stack: org.bson.BsonDocument
            astore 4 /* responseDocumentForEvent */
        start local 4 // org.bson.BsonDocument responseDocumentForEvent
        13: .line 143
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.message:Lcom/mongodb/internal/connection/CommandMessage;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.commandName:Ljava/lang/String;
            aload 4 /* responseDocumentForEvent */
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.description:Lcom/mongodb/connection/ConnectionDescription;
        14: .line 144
            lload 2 /* elapsedTimeNanos */
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.commandListener:Lcom/mongodb/event/CommandListener;
        15: .line 143
            invokestatic com.mongodb.internal.connection.ProtocolHelper.sendCommandSucceededEvent:(Lcom/mongodb/internal/connection/RequestMessage;Ljava/lang/String;Lorg/bson/BsonDocument;Lcom/mongodb/connection/ConnectionDescription;JLcom/mongodb/event/CommandListener;)V
        end local 4 // org.bson.BsonDocument responseDocumentForEvent
        16: .line 146
      StackMap locals:
      StackMap stack:
            return
        end local 2 // long elapsedTimeNanos
        end local 1 // com.mongodb.internal.connection.ResponseBuffers responseBuffers
        end local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
      LocalVariableTable:
        Start  End  Slot                      Name  Signature
            0   17     0                      this  Lcom/mongodb/internal/connection/LoggingCommandEventSender;
            0   17     1           responseBuffers  Lcom/mongodb/internal/connection/ResponseBuffers;
            1   17     2          elapsedTimeNanos  J
           13   16     4  responseDocumentForEvent  Lorg/bson/BsonDocument;
    MethodParameters:
                 Name  Flags
      responseBuffers  final

  public void sendSucceededEventForOneWayCommand();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=4, args_size=1
        start local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
         0: .line 150
            invokestatic java.lang.System.nanoTime:()J
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.startTimeNanos:J
            lsub
            lstore 1 /* elapsedTimeNanos */
        start local 1 // long elapsedTimeNanos
         1: .line 152
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.LoggingCommandEventSender.loggingRequired:()Z
            ifeq 8
         2: .line 153
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.logger:Lcom/mongodb/diagnostics/logging/Logger;
         3: .line 154
            ldc "Execution of one-way command with request id %d completed successfully in %s ms on connection [%s] to server %s"
            iconst_4
            anewarray java.lang.Object
            dup
            iconst_0
         4: .line 156
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.message:Lcom/mongodb/internal/connection/CommandMessage;
            invokevirtual com.mongodb.internal.connection.CommandMessage.getId:()I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            aload 0 /* this */
            lload 1 /* elapsedTimeNanos */
            invokevirtual com.mongodb.internal.connection.LoggingCommandEventSender.getElapsedTimeFormattedInMilliseconds:(J)Ljava/lang/String;
            aastore
            dup
            iconst_2
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.description:Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.connection.ConnectionDescription.getConnectionId:()Lcom/mongodb/connection/ConnectionId;
            aastore
            dup
            iconst_3
         5: .line 157
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.description:Lcom/mongodb/connection/ConnectionDescription;
            invokevirtual com.mongodb.connection.ConnectionDescription.getServerAddress:()Lcom/mongodb/ServerAddress;
            aastore
         6: .line 154
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
         7: .line 153
            invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;)V
         8: .line 160
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.mongodb.internal.connection.LoggingCommandEventSender.eventRequired:()Z
            ifeq 13
         9: .line 161
            new org.bson.BsonDocument
            dup
            ldc "ok"
            new org.bson.BsonInt32
            dup
            iconst_1
            invokespecial org.bson.BsonInt32.<init>:(I)V
            invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
            astore 3 /* responseDocumentForEvent */
        start local 3 // org.bson.BsonDocument responseDocumentForEvent
        10: .line 162
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.message:Lcom/mongodb/internal/connection/CommandMessage;
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.commandName:Ljava/lang/String;
            aload 3 /* responseDocumentForEvent */
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.description:Lcom/mongodb/connection/ConnectionDescription;
        11: .line 163
            lload 1 /* elapsedTimeNanos */
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.commandListener:Lcom/mongodb/event/CommandListener;
        12: .line 162
            invokestatic com.mongodb.internal.connection.ProtocolHelper.sendCommandSucceededEvent:(Lcom/mongodb/internal/connection/RequestMessage;Ljava/lang/String;Lorg/bson/BsonDocument;Lcom/mongodb/connection/ConnectionDescription;JLcom/mongodb/event/CommandListener;)V
        end local 3 // org.bson.BsonDocument responseDocumentForEvent
        13: .line 165
      StackMap locals:
      StackMap stack:
            return
        end local 1 // long elapsedTimeNanos
        end local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
      LocalVariableTable:
        Start  End  Slot                      Name  Signature
            0   14     0                      this  Lcom/mongodb/internal/connection/LoggingCommandEventSender;
            1   14     1          elapsedTimeNanos  J
           10   13     3  responseDocumentForEvent  Lorg/bson/BsonDocument;

  private boolean loggingRequired();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
         0: .line 168
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.logger:Lcom/mongodb/diagnostics/logging/Logger;
            invokeinterface com.mongodb.diagnostics.logging.Logger.isDebugEnabled:()Z
            ireturn
        end local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/mongodb/internal/connection/LoggingCommandEventSender;

  private boolean eventRequired();
    descriptor: ()Z
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
         0: .line 172
            aload 0 /* this */
            getfield com.mongodb.internal.connection.LoggingCommandEventSender.commandListener:Lcom/mongodb/event/CommandListener;
            ifnull 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/mongodb/internal/connection/LoggingCommandEventSender;

  private java.lang.String getElapsedTimeFormattedInMilliseconds(long);
    descriptor: (J)Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
        start local 1 // long elapsedTimeNanos
         0: .line 176
            ldc "#0.00"
            lload 1 /* elapsedTimeNanos */
            l2d
            ldc 1000000.0
            ddiv
            invokestatic com.mongodb.internal.connection.DecimalFormatHelper.format:(Ljava/lang/String;D)Ljava/lang/String;
            areturn
        end local 1 // long elapsedTimeNanos
        end local 0 // com.mongodb.internal.connection.LoggingCommandEventSender this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    1     0              this  Lcom/mongodb/internal/connection/LoggingCommandEventSender;
            0    1     1  elapsedTimeNanos  J
    MethodParameters:
                  Name  Flags
      elapsedTimeNanos  final
}
SourceFile: "LoggingCommandEventSender.java"
InnerClasses:
  public final Builder = org.bson.json.JsonWriterSettings$Builder of org.bson.json.JsonWriterSettings