public final class com.mongodb.event.ServerHeartbeatFailedEvent
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.event.ServerHeartbeatFailedEvent
super_class: java.lang.Object
{
private final com.mongodb.connection.ConnectionId connectionId;
descriptor: Lcom/mongodb/connection/ConnectionId;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
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>(com.mongodb.connection.ConnectionId, long, java.lang.Throwable);
descriptor: (Lcom/mongodb/connection/ConnectionId;JLjava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc "connectionId"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.connection.ConnectionId
putfield com.mongodb.event.ServerHeartbeatFailedEvent.connectionId:Lcom/mongodb/connection/ConnectionId;
2: ldc "elapsed time is not negative"
lload 2
lconst_0
lcmp
iflt 3
iconst_1
goto 4
StackMap locals: com.mongodb.event.ServerHeartbeatFailedEvent com.mongodb.connection.ConnectionId long java.lang.Throwable
StackMap stack: java.lang.String
3: iconst_0
StackMap locals: com.mongodb.event.ServerHeartbeatFailedEvent com.mongodb.connection.ConnectionId long java.lang.Throwable
StackMap stack: java.lang.String int
4: invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
5: aload 0
lload 2
putfield com.mongodb.event.ServerHeartbeatFailedEvent.elapsedTimeNanos:J
6: aload 0
ldc "throwable"
aload 4
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Throwable
putfield com.mongodb.event.ServerHeartbeatFailedEvent.throwable:Ljava/lang/Throwable;
7: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/event/ServerHeartbeatFailedEvent;
0 8 1 connectionId Lcom/mongodb/connection/ConnectionId;
0 8 2 elapsedTimeNanos J
0 8 4 throwable Ljava/lang/Throwable;
MethodParameters:
Name Flags
connectionId final
elapsedTimeNanos final
throwable final
public com.mongodb.connection.ConnectionId getConnectionId();
descriptor: ()Lcom/mongodb/connection/ConnectionId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.event.ServerHeartbeatFailedEvent.connectionId:Lcom/mongodb/connection/ConnectionId;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/event/ServerHeartbeatFailedEvent;
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.ServerHeartbeatFailedEvent.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/ServerHeartbeatFailedEvent;
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.ServerHeartbeatFailedEvent.throwable:Ljava/lang/Throwable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/event/ServerHeartbeatFailedEvent;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "ServerHeartbeatFailedEvent{connectionId="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.event.ServerHeartbeatFailedEvent.connectionId:Lcom/mongodb/connection/ConnectionId;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: ldc ", elapsedTimeNanos="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.event.ServerHeartbeatFailedEvent.elapsedTimeNanos:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
3: ldc ", throwable="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.event.ServerHeartbeatFailedEvent.throwable:Ljava/lang/Throwable;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: ldc "} "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokespecial java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/event/ServerHeartbeatFailedEvent;
}
SourceFile: "ServerHeartbeatFailedEvent.java"