public final class com.mongodb.event.ServerDescriptionChangedEvent
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.event.ServerDescriptionChangedEvent
super_class: java.lang.Object
{
private final com.mongodb.connection.ServerId serverId;
descriptor: Lcom/mongodb/connection/ServerId;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.connection.ServerDescription newDescription;
descriptor: Lcom/mongodb/connection/ServerDescription;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.connection.ServerDescription previousDescription;
descriptor: Lcom/mongodb/connection/ServerDescription;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.mongodb.connection.ServerId, com.mongodb.connection.ServerDescription, com.mongodb.connection.ServerDescription);
descriptor: (Lcom/mongodb/connection/ServerId;Lcom/mongodb/connection/ServerDescription;Lcom/mongodb/connection/ServerDescription;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, 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 "serverId"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.connection.ServerId
putfield com.mongodb.event.ServerDescriptionChangedEvent.serverId:Lcom/mongodb/connection/ServerId;
2: aload 0
ldc "newDescription"
aload 2
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.connection.ServerDescription
putfield com.mongodb.event.ServerDescriptionChangedEvent.newDescription:Lcom/mongodb/connection/ServerDescription;
3: aload 0
ldc "previousDescription"
aload 3
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.connection.ServerDescription
putfield com.mongodb.event.ServerDescriptionChangedEvent.previousDescription:Lcom/mongodb/connection/ServerDescription;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/event/ServerDescriptionChangedEvent;
0 5 1 serverId Lcom/mongodb/connection/ServerId;
0 5 2 newDescription Lcom/mongodb/connection/ServerDescription;
0 5 3 previousDescription Lcom/mongodb/connection/ServerDescription;
MethodParameters:
Name Flags
serverId final
newDescription final
previousDescription final
public com.mongodb.connection.ServerId getServerId();
descriptor: ()Lcom/mongodb/connection/ServerId;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.event.ServerDescriptionChangedEvent.serverId:Lcom/mongodb/connection/ServerId;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/event/ServerDescriptionChangedEvent;
public com.mongodb.connection.ServerDescription getNewDescription();
descriptor: ()Lcom/mongodb/connection/ServerDescription;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.event.ServerDescriptionChangedEvent.newDescription:Lcom/mongodb/connection/ServerDescription;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/event/ServerDescriptionChangedEvent;
public com.mongodb.connection.ServerDescription getPreviousDescription();
descriptor: ()Lcom/mongodb/connection/ServerDescription;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.event.ServerDescriptionChangedEvent.previousDescription:Lcom/mongodb/connection/ServerDescription;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/event/ServerDescriptionChangedEvent;
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 "ServerDescriptionChangedEvent{serverId="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.event.ServerDescriptionChangedEvent.serverId:Lcom/mongodb/connection/ServerId;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: ldc ", newDescription="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.event.ServerDescriptionChangedEvent.newDescription:Lcom/mongodb/connection/ServerDescription;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
3: ldc ", previousDescription="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.event.ServerDescriptionChangedEvent.previousDescription:Lcom/mongodb/connection/ServerDescription;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)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/ServerDescriptionChangedEvent;
}
SourceFile: "ServerDescriptionChangedEvent.java"