class com.mongodb.internal.connection.DnsMultiServerCluster$1 implements com.mongodb.internal.connection.DnsSrvRecordInitializer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.DnsMultiServerCluster$1
super_class: java.lang.Object
{
private volatile boolean initialized;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
final com.mongodb.internal.connection.DnsMultiServerCluster this$0;
descriptor: Lcom/mongodb/internal/connection/DnsMultiServerCluster;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.internal.connection.DnsMultiServerCluster);
descriptor: (Lcom/mongodb/internal/connection/DnsMultiServerCluster;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.mongodb.internal.connection.DnsMultiServerCluster$1.this$0:Lcom/mongodb/internal/connection/DnsMultiServerCluster;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/DnsMultiServerCluster$1;
MethodParameters:
Name Flags
this$0 final
public void initialize(java.util.Collection<com.mongodb.ServerAddress>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.internal.connection.DnsMultiServerCluster$1.this$0:Lcom/mongodb/internal/connection/DnsMultiServerCluster;
aconst_null
putfield com.mongodb.internal.connection.DnsMultiServerCluster.srvResolutionException:Lcom/mongodb/MongoException;
1: aload 0
getfield com.mongodb.internal.connection.DnsMultiServerCluster$1.initialized:Z
ifne 5
2: aload 0
iconst_1
putfield com.mongodb.internal.connection.DnsMultiServerCluster$1.initialized:Z
3: aload 0
getfield com.mongodb.internal.connection.DnsMultiServerCluster$1.this$0:Lcom/mongodb/internal/connection/DnsMultiServerCluster;
aload 1
invokevirtual com.mongodb.internal.connection.DnsMultiServerCluster.initialize:(Ljava/util/Collection;)V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.DnsMultiServerCluster$1.this$0:Lcom/mongodb/internal/connection/DnsMultiServerCluster;
aload 1
invokevirtual com.mongodb.internal.connection.DnsMultiServerCluster.onChange:(Ljava/util/Collection;)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/internal/connection/DnsMultiServerCluster$1;
0 7 1 hosts Ljava/util/Collection<Lcom/mongodb/ServerAddress;>;
Signature: (Ljava/util/Collection<Lcom/mongodb/ServerAddress;>;)V
MethodParameters:
Name Flags
hosts final
public void initialize(com.mongodb.MongoException);
descriptor: (Lcom/mongodb/MongoException;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.internal.connection.DnsMultiServerCluster$1.initialized:Z
ifne 3
1: aload 0
getfield com.mongodb.internal.connection.DnsMultiServerCluster$1.this$0:Lcom/mongodb/internal/connection/DnsMultiServerCluster;
aload 1
putfield com.mongodb.internal.connection.DnsMultiServerCluster.srvResolutionException:Lcom/mongodb/MongoException;
2: aload 0
getfield com.mongodb.internal.connection.DnsMultiServerCluster$1.this$0:Lcom/mongodb/internal/connection/DnsMultiServerCluster;
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
invokevirtual com.mongodb.internal.connection.DnsMultiServerCluster.initialize:(Ljava/util/Collection;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/internal/connection/DnsMultiServerCluster$1;
0 4 1 initializationException Lcom/mongodb/MongoException;
MethodParameters:
Name Flags
initializationException final
public com.mongodb.connection.ClusterType getClusterType();
descriptor: ()Lcom/mongodb/connection/ClusterType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.DnsMultiServerCluster$1.this$0:Lcom/mongodb/internal/connection/DnsMultiServerCluster;
invokevirtual com.mongodb.internal.connection.DnsMultiServerCluster.getClusterType:()Lcom/mongodb/connection/ClusterType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/DnsMultiServerCluster$1;
}
SourceFile: "DnsMultiServerCluster.java"
EnclosingMethod: com.mongodb.internal.connection.DnsMultiServerCluster.<init>:(Lcom/mongodb/connection/ClusterId;Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/internal/connection/ClusterableServerFactory;Lcom/mongodb/internal/connection/DnsSrvRecordMonitorFactory;)V
NestHost: com.mongodb.internal.connection.DnsMultiServerCluster
InnerClasses:
com.mongodb.internal.connection.DnsMultiServerCluster$1