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