public class com.mongodb.connection.ServerSettings
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.connection.ServerSettings
super_class: java.lang.Object
{
private final long heartbeatFrequencyMS;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long minHeartbeatFrequencyMS;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<com.mongodb.event.ServerListener> serverListeners;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/mongodb/event/ServerListener;>;
private final java.util.List<com.mongodb.event.ServerMonitorListener> serverMonitorListeners;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/mongodb/event/ServerMonitorListener;>;
public static com.mongodb.connection.ServerSettings$Builder builder();
descriptor: ()Lcom/mongodb/connection/ServerSettings$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.mongodb.connection.ServerSettings$Builder
dup
invokespecial com.mongodb.connection.ServerSettings$Builder.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public static com.mongodb.connection.ServerSettings$Builder builder(com.mongodb.connection.ServerSettings);
descriptor: (Lcom/mongodb/connection/ServerSettings;)Lcom/mongodb/connection/ServerSettings$Builder;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic com.mongodb.connection.ServerSettings.builder:()Lcom/mongodb/connection/ServerSettings$Builder;
aload 0
invokevirtual com.mongodb.connection.ServerSettings$Builder.applySettings:(Lcom/mongodb/connection/ServerSettings;)Lcom/mongodb/connection/ServerSettings$Builder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 serverSettings Lcom/mongodb/connection/ServerSettings;
MethodParameters:
Name Flags
serverSettings final
public long getHeartbeatFrequency(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.connection.ServerSettings.heartbeatFrequencyMS:J
getstatic java.util.concurrent.TimeUnit.MILLISECONDS: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/connection/ServerSettings;
0 1 1 timeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
timeUnit final
public long getMinHeartbeatFrequency(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.connection.ServerSettings.minHeartbeatFrequencyMS:J
getstatic java.util.concurrent.TimeUnit.MILLISECONDS: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/connection/ServerSettings;
0 1 1 timeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
timeUnit final
public java.util.List<com.mongodb.event.ServerListener> getServerListeners();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerSettings.serverListeners:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerSettings;
Signature: ()Ljava/util/List<Lcom/mongodb/event/ServerListener;>;
public java.util.List<com.mongodb.event.ServerMonitorListener> getServerMonitorListeners();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerSettings.serverMonitorListeners:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ServerSettings;
Signature: ()Ljava/util/List<Lcom/mongodb/event/ServerMonitorListener;>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast com.mongodb.connection.ServerSettings
astore 2
start local 2 5: aload 0
getfield com.mongodb.connection.ServerSettings.heartbeatFrequencyMS:J
aload 2
getfield com.mongodb.connection.ServerSettings.heartbeatFrequencyMS:J
lcmp
ifeq 7
6: iconst_0
ireturn
7: StackMap locals: com.mongodb.connection.ServerSettings
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerSettings.minHeartbeatFrequencyMS:J
aload 2
getfield com.mongodb.connection.ServerSettings.minHeartbeatFrequencyMS:J
lcmp
ifeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerSettings.serverListeners:Ljava/util/List;
aload 2
getfield com.mongodb.connection.ServerSettings.serverListeners:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifne 11
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.connection.ServerSettings.serverMonitorListeners:Ljava/util/List;
aload 2
getfield com.mongodb.connection.ServerSettings.serverMonitorListeners:Ljava/util/List;
invokeinterface java.util.List.equals:(Ljava/lang/Object;)Z
ifne 13
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/mongodb/connection/ServerSettings;
0 14 1 o Ljava/lang/Object;
5 14 2 that Lcom/mongodb/connection/ServerSettings;
MethodParameters:
Name Flags
o final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield com.mongodb.connection.ServerSettings.heartbeatFrequencyMS:J
aload 0
getfield com.mongodb.connection.ServerSettings.heartbeatFrequencyMS:J
bipush 32
lushr
lxor
l2i
istore 1
start local 1 1: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerSettings.minHeartbeatFrequencyMS:J
aload 0
getfield com.mongodb.connection.ServerSettings.minHeartbeatFrequencyMS:J
bipush 32
lushr
lxor
l2i
iadd
istore 1
2: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerSettings.serverListeners:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
iadd
istore 1
3: bipush 31
iload 1
imul
aload 0
getfield com.mongodb.connection.ServerSettings.serverMonitorListeners:Ljava/util/List;
invokeinterface java.util.List.hashCode:()I
iadd
istore 1
4: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/connection/ServerSettings;
1 5 1 result I
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 "ServerSettings{heartbeatFrequencyMS="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.mongodb.connection.ServerSettings.heartbeatFrequencyMS:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
2: ldc ", minHeartbeatFrequencyMS="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerSettings.minHeartbeatFrequencyMS:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
3: ldc ", serverListeners='"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerSettings.serverListeners:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
4: ldc ", serverMonitorListeners='"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.mongodb.connection.ServerSettings.serverMonitorListeners:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
5: bipush 125
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
6: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/connection/ServerSettings;
void <init>(com.mongodb.connection.ServerSettings$Builder);
descriptor: (Lcom/mongodb/connection/ServerSettings$Builder;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
getfield com.mongodb.connection.ServerSettings$Builder.heartbeatFrequencyMS:J
putfield com.mongodb.connection.ServerSettings.heartbeatFrequencyMS:J
2: aload 0
aload 1
getfield com.mongodb.connection.ServerSettings$Builder.minHeartbeatFrequencyMS:J
putfield com.mongodb.connection.ServerSettings.minHeartbeatFrequencyMS:J
3: aload 0
aload 1
getfield com.mongodb.connection.ServerSettings$Builder.serverListeners:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield com.mongodb.connection.ServerSettings.serverListeners:Ljava/util/List;
4: aload 0
aload 1
getfield com.mongodb.connection.ServerSettings$Builder.serverMonitorListeners:Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield com.mongodb.connection.ServerSettings.serverMonitorListeners:Ljava/util/List;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/connection/ServerSettings;
0 6 1 builder Lcom/mongodb/connection/ServerSettings$Builder;
MethodParameters:
Name Flags
builder final
}
SourceFile: "ServerSettings.java"
NestMembers:
com.mongodb.connection.ServerSettings$Builder
InnerClasses:
public final Builder = com.mongodb.connection.ServerSettings$Builder of com.mongodb.connection.ServerSettings
RuntimeVisibleAnnotations:
com.mongodb.annotations.Immutable()