public final class com.mongodb.event.CommandSucceededEvent extends com.mongodb.event.CommandEvent
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.event.CommandSucceededEvent
super_class: com.mongodb.event.CommandEvent
{
private final org.bson.BsonDocument response;
descriptor: Lorg/bson/BsonDocument;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long elapsedTimeNanos;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(int, com.mongodb.connection.ConnectionDescription, java.lang.String, org.bson.BsonDocument, long);
descriptor: (ILcom/mongodb/connection/ConnectionDescription;Ljava/lang/String;Lorg/bson/BsonDocument;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
iload 1
aload 2
aload 3
invokespecial com.mongodb.event.CommandEvent.<init>:(ILcom/mongodb/connection/ConnectionDescription;Ljava/lang/String;)V
1: aload 0
aload 4
putfield com.mongodb.event.CommandSucceededEvent.response:Lorg/bson/BsonDocument;
2: ldc "elapsed time is not negative"
lload 5
lconst_0
lcmp
iflt 3
iconst_1
goto 4
StackMap locals: com.mongodb.event.CommandSucceededEvent int com.mongodb.connection.ConnectionDescription java.lang.String org.bson.BsonDocument long
StackMap stack: java.lang.String
3: iconst_0
StackMap locals: com.mongodb.event.CommandSucceededEvent int com.mongodb.connection.ConnectionDescription java.lang.String org.bson.BsonDocument long
StackMap stack: java.lang.String int
4: invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
5: aload 0
lload 5
putfield com.mongodb.event.CommandSucceededEvent.elapsedTimeNanos:J
6: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/event/CommandSucceededEvent;
0 7 1 requestId I
0 7 2 connectionDescription Lcom/mongodb/connection/ConnectionDescription;
0 7 3 commandName Ljava/lang/String;
0 7 4 response Lorg/bson/BsonDocument;
0 7 5 elapsedTimeNanos J
MethodParameters:
Name Flags
requestId final
connectionDescription final
commandName final
response final
elapsedTimeNanos final
public long getElapsedTime(java.util.concurrent.TimeUnit);
descriptor: (Ljava/util/concurrent/TimeUnit;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield com.mongodb.event.CommandSucceededEvent.elapsedTimeNanos:J
getstatic java.util.concurrent.TimeUnit.NANOSECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/event/CommandSucceededEvent;
0 1 1 timeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
timeUnit final
public org.bson.BsonDocument getResponse();
descriptor: ()Lorg/bson/BsonDocument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.event.CommandSucceededEvent.response:Lorg/bson/BsonDocument;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/event/CommandSucceededEvent;
}
SourceFile: "CommandSucceededEvent.java"