public final class com.mongodb.connection.ConnectionPoolSettings$Builder
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.connection.ConnectionPoolSettings$Builder
super_class: java.lang.Object
{
private java.util.List<com.mongodb.event.ConnectionPoolListener> connectionPoolListeners;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lcom/mongodb/event/ConnectionPoolListener;>;
private int maxSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int minSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int maxWaitQueueSize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private long maxWaitTimeMS;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long maxConnectionLifeTimeMS;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long maxConnectionIdleTimeMS;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long maintenanceInitialDelayMS;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long maintenanceFrequencyMS;
descriptor: J
flags: (0x0002) ACC_PRIVATE
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.connectionPoolListeners:Ljava/util/List;
2: aload 0
bipush 100
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maxSize:I
3: aload 0
sipush 500
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maxWaitQueueSize:I
4: aload 0
ldc 120000
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maxWaitTimeMS:J
5: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
lconst_1
getstatic java.util.concurrent.TimeUnit.MINUTES:Ljava/util/concurrent/TimeUnit;
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maintenanceFrequencyMS:J
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
public com.mongodb.connection.ConnectionPoolSettings$Builder applySettings(com.mongodb.connection.ConnectionPoolSettings);
descriptor: (Lcom/mongodb/connection/ConnectionPoolSettings;)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: ldc "connectionPoolSettings"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
new java.util.ArrayList
dup
aload 1
getfield com.mongodb.connection.ConnectionPoolSettings.connectionPoolListeners:Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.connectionPoolListeners:Ljava/util/List;
2: aload 0
aload 1
getfield com.mongodb.connection.ConnectionPoolSettings.maxSize:I
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maxSize:I
3: aload 0
aload 1
getfield com.mongodb.connection.ConnectionPoolSettings.minSize:I
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.minSize:I
4: aload 0
aload 1
getfield com.mongodb.connection.ConnectionPoolSettings.maxWaitQueueSize:I
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maxWaitQueueSize:I
5: aload 0
aload 1
getfield com.mongodb.connection.ConnectionPoolSettings.maxWaitTimeMS:J
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maxWaitTimeMS:J
6: aload 0
aload 1
getfield com.mongodb.connection.ConnectionPoolSettings.maxConnectionLifeTimeMS:J
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maxConnectionLifeTimeMS:J
7: aload 0
aload 1
getfield com.mongodb.connection.ConnectionPoolSettings.maxConnectionIdleTimeMS:J
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maxConnectionIdleTimeMS:J
8: aload 0
aload 1
getfield com.mongodb.connection.ConnectionPoolSettings.maintenanceInitialDelayMS:J
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maintenanceInitialDelayMS:J
9: aload 0
aload 1
getfield com.mongodb.connection.ConnectionPoolSettings.maintenanceFrequencyMS:J
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maintenanceFrequencyMS:J
10: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
0 11 1 connectionPoolSettings Lcom/mongodb/connection/ConnectionPoolSettings;
MethodParameters:
Name Flags
connectionPoolSettings final
public com.mongodb.connection.ConnectionPoolSettings$Builder maxSize(int);
descriptor: (I)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maxSize:I
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
0 2 1 maxSize I
MethodParameters:
Name Flags
maxSize final
public com.mongodb.connection.ConnectionPoolSettings$Builder minSize(int);
descriptor: (I)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.minSize:I
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
0 2 1 minSize I
MethodParameters:
Name Flags
minSize final
public com.mongodb.connection.ConnectionPoolSettings$Builder maxWaitQueueSize(int);
descriptor: (I)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maxWaitQueueSize:I
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
0 2 1 maxWaitQueueSize I
MethodParameters:
Name Flags
maxWaitQueueSize final
public com.mongodb.connection.ConnectionPoolSettings$Builder maxWaitTime(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
lload 1
aload 3
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maxWaitTimeMS:J
1: aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
0 2 1 maxWaitTime J
0 2 3 timeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
maxWaitTime final
timeUnit final
public com.mongodb.connection.ConnectionPoolSettings$Builder maxConnectionLifeTime(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
lload 1
aload 3
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maxConnectionLifeTimeMS:J
1: aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
0 2 1 maxConnectionLifeTime J
0 2 3 timeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
maxConnectionLifeTime final
timeUnit final
public com.mongodb.connection.ConnectionPoolSettings$Builder maxConnectionIdleTime(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
lload 1
aload 3
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maxConnectionIdleTimeMS:J
1: aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
0 2 1 maxConnectionIdleTime J
0 2 3 timeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
maxConnectionIdleTime final
timeUnit final
public com.mongodb.connection.ConnectionPoolSettings$Builder maintenanceInitialDelay(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
lload 1
aload 3
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maintenanceInitialDelayMS:J
1: aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
0 2 1 maintenanceInitialDelay J
0 2 3 timeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
maintenanceInitialDelay final
timeUnit final
public com.mongodb.connection.ConnectionPoolSettings$Builder maintenanceFrequency(long, java.util.concurrent.TimeUnit);
descriptor: (JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
lload 1
aload 3
invokevirtual java.util.concurrent.TimeUnit.convert:(JLjava/util/concurrent/TimeUnit;)J
putfield com.mongodb.connection.ConnectionPoolSettings$Builder.maintenanceFrequencyMS:J
1: aload 0
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
0 2 1 maintenanceFrequency J
0 2 3 timeUnit Ljava/util/concurrent/TimeUnit;
MethodParameters:
Name Flags
maintenanceFrequency final
timeUnit final
public com.mongodb.connection.ConnectionPoolSettings$Builder addConnectionPoolListener(com.mongodb.event.ConnectionPoolListener);
descriptor: (Lcom/mongodb/event/ConnectionPoolListener;)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.connection.ConnectionPoolSettings$Builder.connectionPoolListeners:Ljava/util/List;
ldc "connectionPoolListener"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.event.ConnectionPoolListener
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
0 2 1 connectionPoolListener Lcom/mongodb/event/ConnectionPoolListener;
MethodParameters:
Name Flags
connectionPoolListener final
public com.mongodb.connection.ConnectionPoolSettings build();
descriptor: ()Lcom/mongodb/connection/ConnectionPoolSettings;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.mongodb.connection.ConnectionPoolSettings
dup
aload 0
invokespecial com.mongodb.connection.ConnectionPoolSettings.<init>:(Lcom/mongodb/connection/ConnectionPoolSettings$Builder;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
public com.mongodb.connection.ConnectionPoolSettings$Builder applyConnectionString(com.mongodb.ConnectionString);
descriptor: (Lcom/mongodb/ConnectionString;)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.mongodb.ConnectionString.getMaxConnectionPoolSize:()Ljava/lang/Integer;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 0
aload 2
invokevirtual java.lang.Integer.intValue:()I
invokevirtual com.mongodb.connection.ConnectionPoolSettings$Builder.maxSize:(I)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
pop
3: StackMap locals: java.lang.Integer
StackMap stack:
aload 1
invokevirtual com.mongodb.ConnectionString.getMinConnectionPoolSize:()Ljava/lang/Integer;
astore 3
start local 3 4: aload 3
ifnull 6
5: aload 0
aload 3
invokevirtual java.lang.Integer.intValue:()I
invokevirtual com.mongodb.connection.ConnectionPoolSettings$Builder.minSize:(I)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
pop
6: StackMap locals: java.lang.Integer
StackMap stack:
aload 1
invokevirtual com.mongodb.ConnectionString.getMaxWaitTime:()Ljava/lang/Integer;
astore 4
start local 4 7: aload 4
ifnull 9
8: aload 0
aload 4
invokevirtual java.lang.Integer.intValue:()I
i2l
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual com.mongodb.connection.ConnectionPoolSettings$Builder.maxWaitTime:(JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
pop
9: StackMap locals: java.lang.Integer
StackMap stack:
aload 1
invokevirtual com.mongodb.ConnectionString.getMaxConnectionIdleTime:()Ljava/lang/Integer;
astore 5
start local 5 10: aload 5
ifnull 12
11: aload 0
aload 5
invokevirtual java.lang.Integer.intValue:()I
i2l
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual com.mongodb.connection.ConnectionPoolSettings$Builder.maxConnectionIdleTime:(JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
pop
12: StackMap locals: java.lang.Integer
StackMap stack:
aload 1
invokevirtual com.mongodb.ConnectionString.getMaxConnectionLifeTime:()Ljava/lang/Integer;
astore 6
start local 6 13: aload 6
ifnull 15
14: aload 0
aload 6
invokevirtual java.lang.Integer.intValue:()I
i2l
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual com.mongodb.connection.ConnectionPoolSettings$Builder.maxConnectionLifeTime:(JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
pop
15: StackMap locals: java.lang.Integer
StackMap stack:
aload 1
invokevirtual com.mongodb.ConnectionString.getThreadsAllowedToBlockForConnectionMultiplier:()Ljava/lang/Integer;
astore 7
start local 7 16: aload 7
ifnull 18
17: aload 0
aload 7
invokevirtual java.lang.Integer.intValue:()I
aload 0
getfield com.mongodb.connection.ConnectionPoolSettings$Builder.maxSize:I
imul
invokevirtual com.mongodb.connection.ConnectionPoolSettings$Builder.maxWaitQueueSize:(I)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
pop
18: StackMap locals: java.lang.Integer
StackMap stack:
aload 0
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
0 19 1 connectionString Lcom/mongodb/ConnectionString;
1 19 2 maxConnectionPoolSize Ljava/lang/Integer;
4 19 3 minConnectionPoolSize Ljava/lang/Integer;
7 19 4 maxWaitTime Ljava/lang/Integer;
10 19 5 maxConnectionIdleTime Ljava/lang/Integer;
13 19 6 maxConnectionLifeTime Ljava/lang/Integer;
16 19 7 threadsAllowedToBlockForConnectionMultiplier Ljava/lang/Integer;
MethodParameters:
Name Flags
connectionString final
}
SourceFile: "ConnectionPoolSettings.java"
NestHost: com.mongodb.connection.ConnectionPoolSettings
InnerClasses:
public final Builder = com.mongodb.connection.ConnectionPoolSettings$Builder of com.mongodb.connection.ConnectionPoolSettings
RuntimeVisibleAnnotations:
com.mongodb.annotations.NotThreadSafe()