public final class com.mongodb.connection.DefaultClusterFactory implements com.mongodb.connection.ClusterFactory
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.connection.DefaultClusterFactory
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/DefaultClusterFactory;
public com.mongodb.connection.Cluster create(com.mongodb.connection.ClusterSettings, com.mongodb.connection.ServerSettings, com.mongodb.connection.ConnectionPoolSettings, com.mongodb.connection.StreamFactory, com.mongodb.connection.StreamFactory, java.util.List<com.mongodb.MongoCredential>, com.mongodb.event.ClusterListener, com.mongodb.event.ConnectionPoolListener, com.mongodb.event.ConnectionListener);
descriptor: (Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/connection/ServerSettings;Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/connection/StreamFactory;Lcom/mongodb/connection/StreamFactory;Ljava/util/List;Lcom/mongodb/event/ClusterListener;Lcom/mongodb/event/ConnectionPoolListener;Lcom/mongodb/event/ConnectionListener;)Lcom/mongodb/connection/Cluster;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=10, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 0
aload 0
aload 1
aload 7
invokevirtual com.mongodb.connection.DefaultClusterFactory.getClusterSettings:(Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/event/ClusterListener;)Lcom/mongodb/connection/ClusterSettings;
aload 2
1: aload 0
aload 3
aload 8
invokevirtual com.mongodb.connection.DefaultClusterFactory.getConnectionPoolSettings:(Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/event/ConnectionPoolListener;)Lcom/mongodb/connection/ConnectionPoolSettings;
aload 4
2: aload 5
aload 6
aconst_null
aconst_null
aconst_null
3: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
4: invokevirtual com.mongodb.connection.DefaultClusterFactory.createCluster:(Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/connection/ServerSettings;Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/connection/StreamFactory;Lcom/mongodb/connection/StreamFactory;Ljava/util/List;Lcom/mongodb/event/CommandListener;Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;Ljava/util/List;)Lcom/mongodb/connection/Cluster;
areturn
end local 9 end local 8 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 5 0 this Lcom/mongodb/connection/DefaultClusterFactory;
0 5 1 settings Lcom/mongodb/connection/ClusterSettings;
0 5 2 serverSettings Lcom/mongodb/connection/ServerSettings;
0 5 3 connectionPoolSettings Lcom/mongodb/connection/ConnectionPoolSettings;
0 5 4 streamFactory Lcom/mongodb/connection/StreamFactory;
0 5 5 heartbeatStreamFactory Lcom/mongodb/connection/StreamFactory;
0 5 6 credentialList Ljava/util/List<Lcom/mongodb/MongoCredential;>;
0 5 7 clusterListener Lcom/mongodb/event/ClusterListener;
0 5 8 connectionPoolListener Lcom/mongodb/event/ConnectionPoolListener;
0 5 9 connectionListener Lcom/mongodb/event/ConnectionListener;
Signature: (Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/connection/ServerSettings;Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/connection/StreamFactory;Lcom/mongodb/connection/StreamFactory;Ljava/util/List<Lcom/mongodb/MongoCredential;>;Lcom/mongodb/event/ClusterListener;Lcom/mongodb/event/ConnectionPoolListener;Lcom/mongodb/event/ConnectionListener;)Lcom/mongodb/connection/Cluster;
MethodParameters:
Name Flags
settings final
serverSettings final
connectionPoolSettings final
streamFactory final
heartbeatStreamFactory final
credentialList final
clusterListener final
connectionPoolListener final
connectionListener final
public com.mongodb.connection.Cluster create(com.mongodb.connection.ClusterSettings, com.mongodb.connection.ServerSettings, com.mongodb.connection.ConnectionPoolSettings, com.mongodb.connection.StreamFactory, com.mongodb.connection.StreamFactory, java.util.List<com.mongodb.MongoCredential>, com.mongodb.event.ClusterListener, com.mongodb.event.ConnectionPoolListener, com.mongodb.event.ConnectionListener, com.mongodb.event.CommandListener);
descriptor: (Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/connection/ServerSettings;Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/connection/StreamFactory;Lcom/mongodb/connection/StreamFactory;Ljava/util/List;Lcom/mongodb/event/ClusterListener;Lcom/mongodb/event/ConnectionPoolListener;Lcom/mongodb/event/ConnectionListener;Lcom/mongodb/event/CommandListener;)Lcom/mongodb/connection/Cluster;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=11, args_size=11
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 0: aload 0
aload 0
aload 1
aload 7
invokevirtual com.mongodb.connection.DefaultClusterFactory.getClusterSettings:(Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/event/ClusterListener;)Lcom/mongodb/connection/ClusterSettings;
aload 2
1: aload 0
aload 3
aload 8
invokevirtual com.mongodb.connection.DefaultClusterFactory.getConnectionPoolSettings:(Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/event/ConnectionPoolListener;)Lcom/mongodb/connection/ConnectionPoolSettings;
aload 4
aload 5
2: aload 6
aload 10
aconst_null
aconst_null
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
3: invokevirtual com.mongodb.connection.DefaultClusterFactory.createCluster:(Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/connection/ServerSettings;Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/connection/StreamFactory;Lcom/mongodb/connection/StreamFactory;Ljava/util/List;Lcom/mongodb/event/CommandListener;Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;Ljava/util/List;)Lcom/mongodb/connection/Cluster;
areturn
end local 10 end local 9 end local 8 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 4 0 this Lcom/mongodb/connection/DefaultClusterFactory;
0 4 1 settings Lcom/mongodb/connection/ClusterSettings;
0 4 2 serverSettings Lcom/mongodb/connection/ServerSettings;
0 4 3 connectionPoolSettings Lcom/mongodb/connection/ConnectionPoolSettings;
0 4 4 streamFactory Lcom/mongodb/connection/StreamFactory;
0 4 5 heartbeatStreamFactory Lcom/mongodb/connection/StreamFactory;
0 4 6 credentialList Ljava/util/List<Lcom/mongodb/MongoCredential;>;
0 4 7 clusterListener Lcom/mongodb/event/ClusterListener;
0 4 8 connectionPoolListener Lcom/mongodb/event/ConnectionPoolListener;
0 4 9 connectionListener Lcom/mongodb/event/ConnectionListener;
0 4 10 commandListener Lcom/mongodb/event/CommandListener;
Signature: (Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/connection/ServerSettings;Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/connection/StreamFactory;Lcom/mongodb/connection/StreamFactory;Ljava/util/List<Lcom/mongodb/MongoCredential;>;Lcom/mongodb/event/ClusterListener;Lcom/mongodb/event/ConnectionPoolListener;Lcom/mongodb/event/ConnectionListener;Lcom/mongodb/event/CommandListener;)Lcom/mongodb/connection/Cluster;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
settings final
serverSettings final
connectionPoolSettings final
streamFactory final
heartbeatStreamFactory final
credentialList final
clusterListener final
connectionPoolListener final
connectionListener final
commandListener final
public com.mongodb.connection.Cluster create(com.mongodb.connection.ClusterSettings, com.mongodb.connection.ServerSettings, com.mongodb.connection.ConnectionPoolSettings, com.mongodb.connection.StreamFactory, com.mongodb.connection.StreamFactory, java.util.List<com.mongodb.MongoCredential>, com.mongodb.event.ClusterListener, com.mongodb.event.ConnectionPoolListener, com.mongodb.event.ConnectionListener, com.mongodb.event.CommandListener, java.lang.String, com.mongodb.MongoDriverInformation);
descriptor: (Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/connection/ServerSettings;Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/connection/StreamFactory;Lcom/mongodb/connection/StreamFactory;Ljava/util/List;Lcom/mongodb/event/ClusterListener;Lcom/mongodb/event/ConnectionPoolListener;Lcom/mongodb/event/ConnectionListener;Lcom/mongodb/event/CommandListener;Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;)Lcom/mongodb/connection/Cluster;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=13, args_size=13
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 start local 12 0: aload 0
aload 0
aload 1
aload 7
invokevirtual com.mongodb.connection.DefaultClusterFactory.getClusterSettings:(Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/event/ClusterListener;)Lcom/mongodb/connection/ClusterSettings;
aload 2
1: aload 0
aload 3
aload 8
invokevirtual com.mongodb.connection.DefaultClusterFactory.getConnectionPoolSettings:(Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/event/ConnectionPoolListener;)Lcom/mongodb/connection/ConnectionPoolSettings;
aload 4
aload 5
2: aload 6
aload 10
aload 11
aload 12
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
3: invokevirtual com.mongodb.connection.DefaultClusterFactory.createCluster:(Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/connection/ServerSettings;Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/connection/StreamFactory;Lcom/mongodb/connection/StreamFactory;Ljava/util/List;Lcom/mongodb/event/CommandListener;Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;Ljava/util/List;)Lcom/mongodb/connection/Cluster;
areturn
end local 12 end local 11 end local 10 end local 9 end local 8 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 4 0 this Lcom/mongodb/connection/DefaultClusterFactory;
0 4 1 settings Lcom/mongodb/connection/ClusterSettings;
0 4 2 serverSettings Lcom/mongodb/connection/ServerSettings;
0 4 3 connectionPoolSettings Lcom/mongodb/connection/ConnectionPoolSettings;
0 4 4 streamFactory Lcom/mongodb/connection/StreamFactory;
0 4 5 heartbeatStreamFactory Lcom/mongodb/connection/StreamFactory;
0 4 6 credentialList Ljava/util/List<Lcom/mongodb/MongoCredential;>;
0 4 7 clusterListener Lcom/mongodb/event/ClusterListener;
0 4 8 connectionPoolListener Lcom/mongodb/event/ConnectionPoolListener;
0 4 9 connectionListener Lcom/mongodb/event/ConnectionListener;
0 4 10 commandListener Lcom/mongodb/event/CommandListener;
0 4 11 applicationName Ljava/lang/String;
0 4 12 mongoDriverInformation Lcom/mongodb/MongoDriverInformation;
Signature: (Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/connection/ServerSettings;Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/connection/StreamFactory;Lcom/mongodb/connection/StreamFactory;Ljava/util/List<Lcom/mongodb/MongoCredential;>;Lcom/mongodb/event/ClusterListener;Lcom/mongodb/event/ConnectionPoolListener;Lcom/mongodb/event/ConnectionListener;Lcom/mongodb/event/CommandListener;Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;)Lcom/mongodb/connection/Cluster;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
settings final
serverSettings final
connectionPoolSettings final
streamFactory final
heartbeatStreamFactory final
credentialList final
clusterListener final
connectionPoolListener final
connectionListener final
commandListener final
applicationName final
mongoDriverInformation final
public com.mongodb.connection.Cluster createCluster(com.mongodb.connection.ClusterSettings, com.mongodb.connection.ServerSettings, com.mongodb.connection.ConnectionPoolSettings, com.mongodb.connection.StreamFactory, com.mongodb.connection.StreamFactory, java.util.List<com.mongodb.MongoCredential>, com.mongodb.event.CommandListener, java.lang.String, com.mongodb.MongoDriverInformation);
descriptor: (Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/connection/ServerSettings;Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/connection/StreamFactory;Lcom/mongodb/connection/StreamFactory;Ljava/util/List;Lcom/mongodb/event/CommandListener;Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;)Lcom/mongodb/connection/Cluster;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=10, args_size=10
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 0: aload 0
aload 1
aload 2
aload 3
aload 4
aload 5
aload 6
1: aload 7
aload 8
aload 9
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
2: invokevirtual com.mongodb.connection.DefaultClusterFactory.createCluster:(Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/connection/ServerSettings;Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/connection/StreamFactory;Lcom/mongodb/connection/StreamFactory;Ljava/util/List;Lcom/mongodb/event/CommandListener;Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;Ljava/util/List;)Lcom/mongodb/connection/Cluster;
areturn
end local 9 end local 8 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 3 0 this Lcom/mongodb/connection/DefaultClusterFactory;
0 3 1 clusterSettings Lcom/mongodb/connection/ClusterSettings;
0 3 2 serverSettings Lcom/mongodb/connection/ServerSettings;
0 3 3 connectionPoolSettings Lcom/mongodb/connection/ConnectionPoolSettings;
0 3 4 streamFactory Lcom/mongodb/connection/StreamFactory;
0 3 5 heartbeatStreamFactory Lcom/mongodb/connection/StreamFactory;
0 3 6 credentialList Ljava/util/List<Lcom/mongodb/MongoCredential;>;
0 3 7 commandListener Lcom/mongodb/event/CommandListener;
0 3 8 applicationName Ljava/lang/String;
0 3 9 mongoDriverInformation Lcom/mongodb/MongoDriverInformation;
Signature: (Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/connection/ServerSettings;Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/connection/StreamFactory;Lcom/mongodb/connection/StreamFactory;Ljava/util/List<Lcom/mongodb/MongoCredential;>;Lcom/mongodb/event/CommandListener;Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;)Lcom/mongodb/connection/Cluster;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
clusterSettings final
serverSettings final
connectionPoolSettings final
streamFactory final
heartbeatStreamFactory final
credentialList final
commandListener final
applicationName final
mongoDriverInformation final
public com.mongodb.connection.Cluster createCluster(com.mongodb.connection.ClusterSettings, com.mongodb.connection.ServerSettings, com.mongodb.connection.ConnectionPoolSettings, com.mongodb.connection.StreamFactory, com.mongodb.connection.StreamFactory, java.util.List<com.mongodb.MongoCredential>, com.mongodb.event.CommandListener, java.lang.String, com.mongodb.MongoDriverInformation, java.util.List<com.mongodb.MongoCompressor>);
descriptor: (Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/connection/ServerSettings;Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/connection/StreamFactory;Lcom/mongodb/connection/StreamFactory;Ljava/util/List;Lcom/mongodb/event/CommandListener;Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;Ljava/util/List;)Lcom/mongodb/connection/Cluster;
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=14, args_size=11
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 0: new com.mongodb.connection.ClusterId
dup
aload 1
invokevirtual com.mongodb.connection.ClusterSettings.getDescription:()Ljava/lang/String;
invokespecial com.mongodb.connection.ClusterId.<init>:(Ljava/lang/String;)V
astore 11
start local 11 1: new com.mongodb.internal.connection.DefaultClusterableServerFactory
dup
aload 11
aload 1
aload 2
2: aload 3
aload 4
aload 5
aload 6
aload 7
aload 8
3: aload 9
ifnull 4
aload 9
goto 5
StackMap locals: com.mongodb.connection.DefaultClusterFactory com.mongodb.connection.ClusterSettings com.mongodb.connection.ServerSettings com.mongodb.connection.ConnectionPoolSettings com.mongodb.connection.StreamFactory com.mongodb.connection.StreamFactory java.util.List com.mongodb.event.CommandListener java.lang.String com.mongodb.MongoDriverInformation java.util.List com.mongodb.connection.ClusterId
StackMap stack: new 1 new 1 com.mongodb.connection.ClusterId com.mongodb.connection.ClusterSettings com.mongodb.connection.ServerSettings com.mongodb.connection.ConnectionPoolSettings com.mongodb.connection.StreamFactory com.mongodb.connection.StreamFactory java.util.List com.mongodb.event.CommandListener java.lang.String
4: invokestatic com.mongodb.MongoDriverInformation.builder:()Lcom/mongodb/MongoDriverInformation$Builder;
invokevirtual com.mongodb.MongoDriverInformation$Builder.build:()Lcom/mongodb/MongoDriverInformation;
StackMap locals: com.mongodb.connection.DefaultClusterFactory com.mongodb.connection.ClusterSettings com.mongodb.connection.ServerSettings com.mongodb.connection.ConnectionPoolSettings com.mongodb.connection.StreamFactory com.mongodb.connection.StreamFactory java.util.List com.mongodb.event.CommandListener java.lang.String com.mongodb.MongoDriverInformation java.util.List com.mongodb.connection.ClusterId
StackMap stack: new 1 new 1 com.mongodb.connection.ClusterId com.mongodb.connection.ClusterSettings com.mongodb.connection.ServerSettings com.mongodb.connection.ConnectionPoolSettings com.mongodb.connection.StreamFactory com.mongodb.connection.StreamFactory java.util.List com.mongodb.event.CommandListener java.lang.String com.mongodb.MongoDriverInformation
5: aload 10
6: invokespecial com.mongodb.internal.connection.DefaultClusterableServerFactory.<init>:(Lcom/mongodb/connection/ClusterId;Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/connection/ServerSettings;Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/connection/StreamFactory;Lcom/mongodb/connection/StreamFactory;Ljava/util/List;Lcom/mongodb/event/CommandListener;Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;Ljava/util/List;)V
astore 12
start local 12 7: new com.mongodb.internal.connection.DefaultDnsSrvRecordMonitorFactory
dup
aload 11
aload 2
invokespecial com.mongodb.internal.connection.DefaultDnsSrvRecordMonitorFactory.<init>:(Lcom/mongodb/connection/ClusterId;Lcom/mongodb/connection/ServerSettings;)V
astore 13
start local 13 8: aload 1
invokevirtual com.mongodb.connection.ClusterSettings.getMode:()Lcom/mongodb/connection/ClusterConnectionMode;
getstatic com.mongodb.connection.ClusterConnectionMode.SINGLE:Lcom/mongodb/connection/ClusterConnectionMode;
if_acmpne 10
9: new com.mongodb.internal.connection.SingleServerCluster
dup
aload 11
aload 1
aload 12
invokespecial com.mongodb.internal.connection.SingleServerCluster.<init>:(Lcom/mongodb/connection/ClusterId;Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/internal/connection/ClusterableServerFactory;)V
areturn
10: StackMap locals: com.mongodb.internal.connection.ClusterableServerFactory com.mongodb.internal.connection.DnsSrvRecordMonitorFactory
StackMap stack:
aload 1
invokevirtual com.mongodb.connection.ClusterSettings.getMode:()Lcom/mongodb/connection/ClusterConnectionMode;
getstatic com.mongodb.connection.ClusterConnectionMode.MULTIPLE:Lcom/mongodb/connection/ClusterConnectionMode;
if_acmpne 14
11: aload 1
invokevirtual com.mongodb.connection.ClusterSettings.getSrvHost:()Ljava/lang/String;
ifnonnull 13
12: new com.mongodb.internal.connection.MultiServerCluster
dup
aload 11
aload 1
aload 12
invokespecial com.mongodb.internal.connection.MultiServerCluster.<init>:(Lcom/mongodb/connection/ClusterId;Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/internal/connection/ClusterableServerFactory;)V
areturn
13: StackMap locals:
StackMap stack:
new com.mongodb.internal.connection.DnsMultiServerCluster
dup
aload 11
aload 1
aload 12
aload 13
invokespecial 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
areturn
14: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "Unsupported cluster mode: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual com.mongodb.connection.ClusterSettings.getMode:()Lcom/mongodb/connection/ClusterConnectionMode;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 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 15 0 this Lcom/mongodb/connection/DefaultClusterFactory;
0 15 1 clusterSettings Lcom/mongodb/connection/ClusterSettings;
0 15 2 serverSettings Lcom/mongodb/connection/ServerSettings;
0 15 3 connectionPoolSettings Lcom/mongodb/connection/ConnectionPoolSettings;
0 15 4 streamFactory Lcom/mongodb/connection/StreamFactory;
0 15 5 heartbeatStreamFactory Lcom/mongodb/connection/StreamFactory;
0 15 6 credentialList Ljava/util/List<Lcom/mongodb/MongoCredential;>;
0 15 7 commandListener Lcom/mongodb/event/CommandListener;
0 15 8 applicationName Ljava/lang/String;
0 15 9 mongoDriverInformation Lcom/mongodb/MongoDriverInformation;
0 15 10 compressorList Ljava/util/List<Lcom/mongodb/MongoCompressor;>;
1 15 11 clusterId Lcom/mongodb/connection/ClusterId;
7 15 12 serverFactory Lcom/mongodb/internal/connection/ClusterableServerFactory;
8 15 13 dnsSrvRecordMonitorFactory Lcom/mongodb/internal/connection/DnsSrvRecordMonitorFactory;
Signature: (Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/connection/ServerSettings;Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/connection/StreamFactory;Lcom/mongodb/connection/StreamFactory;Ljava/util/List<Lcom/mongodb/MongoCredential;>;Lcom/mongodb/event/CommandListener;Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;Ljava/util/List<Lcom/mongodb/MongoCompressor;>;)Lcom/mongodb/connection/Cluster;
MethodParameters:
Name Flags
clusterSettings final
serverSettings final
connectionPoolSettings final
streamFactory final
heartbeatStreamFactory final
credentialList final
commandListener final
applicationName final
mongoDriverInformation final
compressorList final
private com.mongodb.connection.ClusterSettings getClusterSettings(com.mongodb.connection.ClusterSettings, com.mongodb.event.ClusterListener);
descriptor: (Lcom/mongodb/connection/ClusterSettings;Lcom/mongodb/event/ClusterListener;)Lcom/mongodb/connection/ClusterSettings;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.mongodb.connection.ClusterSettings.builder:(Lcom/mongodb/connection/ClusterSettings;)Lcom/mongodb/connection/ClusterSettings$Builder;
aload 2
invokevirtual com.mongodb.connection.ClusterSettings$Builder.addClusterListener:(Lcom/mongodb/event/ClusterListener;)Lcom/mongodb/connection/ClusterSettings$Builder;
invokevirtual com.mongodb.connection.ClusterSettings$Builder.build:()Lcom/mongodb/connection/ClusterSettings;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/DefaultClusterFactory;
0 1 1 settings Lcom/mongodb/connection/ClusterSettings;
0 1 2 clusterListener Lcom/mongodb/event/ClusterListener;
MethodParameters:
Name Flags
settings final
clusterListener final
private com.mongodb.connection.ConnectionPoolSettings getConnectionPoolSettings(com.mongodb.connection.ConnectionPoolSettings, com.mongodb.event.ConnectionPoolListener);
descriptor: (Lcom/mongodb/connection/ConnectionPoolSettings;Lcom/mongodb/event/ConnectionPoolListener;)Lcom/mongodb/connection/ConnectionPoolSettings;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.mongodb.connection.ConnectionPoolSettings.builder:(Lcom/mongodb/connection/ConnectionPoolSettings;)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
aload 2
invokevirtual com.mongodb.connection.ConnectionPoolSettings$Builder.addConnectionPoolListener:(Lcom/mongodb/event/ConnectionPoolListener;)Lcom/mongodb/connection/ConnectionPoolSettings$Builder;
invokevirtual com.mongodb.connection.ConnectionPoolSettings$Builder.build:()Lcom/mongodb/connection/ConnectionPoolSettings;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/DefaultClusterFactory;
0 1 1 connPoolSettings Lcom/mongodb/connection/ConnectionPoolSettings;
0 1 2 connPoolListener Lcom/mongodb/event/ConnectionPoolListener;
MethodParameters:
Name Flags
connPoolSettings final
connPoolListener final
}
SourceFile: "DefaultClusterFactory.java"
InnerClasses:
public final Builder = com.mongodb.MongoDriverInformation$Builder of com.mongodb.MongoDriverInformation
public final Builder = com.mongodb.connection.ClusterSettings$Builder of com.mongodb.connection.ClusterSettings
public final Builder = com.mongodb.connection.ConnectionPoolSettings$Builder of com.mongodb.connection.ConnectionPoolSettings
RuntimeVisibleAnnotations:
java.lang.Deprecated()