public final class com.mongodb.event.CommandFailedEvent 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.CommandFailedEvent
super_class: com.mongodb.event.CommandEvent
{
private final long elapsedTimeNanos;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Throwable throwable;
descriptor: Ljava/lang/Throwable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(int, com.mongodb.connection.ConnectionDescription, java.lang.String, long, java.lang.Throwable);
descriptor: (ILcom/mongodb/connection/ConnectionDescription;Ljava/lang/String;JLjava/lang/Throwable;)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 6 0: aload 0
iload 1
aload 2
aload 3
invokespecial com.mongodb.event.CommandEvent.<init>:(ILcom/mongodb/connection/ConnectionDescription;Ljava/lang/String;)V
1: ldc "elapsed time is not negative"
lload 4
lconst_0
lcmp
iflt 2
iconst_1
goto 3
StackMap locals: com.mongodb.event.CommandFailedEvent int com.mongodb.connection.ConnectionDescription java.lang.String long java.lang.Throwable
StackMap stack: java.lang.String
2: iconst_0
StackMap locals: com.mongodb.event.CommandFailedEvent int com.mongodb.connection.ConnectionDescription java.lang.String long java.lang.Throwable
StackMap stack: java.lang.String int
3: invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
4: aload 0
lload 4
putfield com.mongodb.event.CommandFailedEvent.elapsedTimeNanos:J
5: aload 0
aload 6
putfield com.mongodb.event.CommandFailedEvent.throwable:Ljava/lang/Throwable;
6: return
end local 6 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/CommandFailedEvent;
0 7 1 requestId I
0 7 2 connectionDescription Lcom/mongodb/connection/ConnectionDescription;
0 7 3 commandName Ljava/lang/String;
0 7 4 elapsedTimeNanos J
0 7 6 throwable Ljava/lang/Throwable;
MethodParameters:
Name Flags
requestId final
connectionDescription final
commandName final
elapsedTimeNanos final
throwable 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.CommandFailedEvent.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/CommandFailedEvent;
0 1 1 timeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
timeUnit final
public java.lang.Throwable getThrowable();
descriptor: ()Ljava/lang/Throwable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.event.CommandFailedEvent.throwable:Ljava/lang/Throwable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/event/CommandFailedEvent;
}
SourceFile: "CommandFailedEvent.java"