public class com.mongodb.internal.connection.DefaultDnsSrvRecordMonitorFactory implements com.mongodb.internal.connection.DnsSrvRecordMonitorFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.internal.connection.DefaultDnsSrvRecordMonitorFactory
super_class: java.lang.Object
{
private static final long DEFAULT_RESCAN_FREQUENCY_MILLIS;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 60000
private final com.mongodb.connection.ClusterId clusterId;
descriptor: Lcom/mongodb/connection/ClusterId;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long noRecordsRescanFrequency;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.mongodb.connection.ClusterId, com.mongodb.connection.ServerSettings);
descriptor: (Lcom/mongodb/connection/ClusterId;Lcom/mongodb/connection/ServerSettings;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.mongodb.internal.connection.DefaultDnsSrvRecordMonitorFactory.clusterId:Lcom/mongodb/connection/ClusterId;
2: aload 0
aload 2
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual com.mongodb.connection.ServerSettings.getHeartbeatFrequency:(Ljava/util/concurrent/TimeUnit;)J
putfield com.mongodb.internal.connection.DefaultDnsSrvRecordMonitorFactory.noRecordsRescanFrequency:J
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/internal/connection/DefaultDnsSrvRecordMonitorFactory;
0 4 1 clusterId Lcom/mongodb/connection/ClusterId;
0 4 2 serverSettings Lcom/mongodb/connection/ServerSettings;
MethodParameters:
Name Flags
clusterId final
serverSettings final
public com.mongodb.internal.connection.DnsSrvRecordMonitor create(java.lang.String, com.mongodb.internal.connection.DnsSrvRecordInitializer);
descriptor: (Ljava/lang/String;Lcom/mongodb/internal/connection/DnsSrvRecordInitializer;)Lcom/mongodb/internal/connection/DnsSrvRecordMonitor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new com.mongodb.internal.connection.DefaultDnsSrvRecordMonitor
dup
aload 1
ldc 60000
aload 0
getfield com.mongodb.internal.connection.DefaultDnsSrvRecordMonitorFactory.noRecordsRescanFrequency:J
aload 2
1: aload 0
getfield com.mongodb.internal.connection.DefaultDnsSrvRecordMonitorFactory.clusterId:Lcom/mongodb/connection/ClusterId;
new com.mongodb.internal.dns.DefaultDnsResolver
dup
invokespecial com.mongodb.internal.dns.DefaultDnsResolver.<init>:()V
2: invokespecial com.mongodb.internal.connection.DefaultDnsSrvRecordMonitor.<init>:(Ljava/lang/String;JJLcom/mongodb/internal/connection/DnsSrvRecordInitializer;Lcom/mongodb/connection/ClusterId;Lcom/mongodb/internal/dns/DnsResolver;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/internal/connection/DefaultDnsSrvRecordMonitorFactory;
0 3 1 hostName Ljava/lang/String;
0 3 2 dnsSrvRecordInitializer Lcom/mongodb/internal/connection/DnsSrvRecordInitializer;
MethodParameters:
Name Flags
hostName final
dnsSrvRecordInitializer final
}
SourceFile: "DefaultDnsSrvRecordMonitorFactory.java"