public class com.mongodb.internal.connection.DefaultClusterableServerFactory implements com.mongodb.internal.connection.ClusterableServerFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.internal.connection.DefaultClusterableServerFactory
super_class: java.lang.Object
{
private final com.mongodb.connection.ClusterId clusterId;
descriptor: Lcom/mongodb/connection/ClusterId;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.connection.ClusterSettings clusterSettings;
descriptor: Lcom/mongodb/connection/ClusterSettings;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.connection.ServerSettings serverSettings;
descriptor: Lcom/mongodb/connection/ServerSettings;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.connection.ConnectionPoolSettings connectionPoolSettings;
descriptor: Lcom/mongodb/connection/ConnectionPoolSettings;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.connection.StreamFactory streamFactory;
descriptor: Lcom/mongodb/connection/StreamFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<com.mongodb.internal.connection.MongoCredentialWithCache> credentialList;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/mongodb/internal/connection/MongoCredentialWithCache;>;
private final com.mongodb.connection.StreamFactory heartbeatStreamFactory;
descriptor: Lcom/mongodb/connection/StreamFactory;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.event.CommandListener commandListener;
descriptor: Lcom/mongodb/event/CommandListener;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String applicationName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.MongoDriverInformation mongoDriverInformation;
descriptor: Lcom/mongodb/MongoDriverInformation;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<com.mongodb.MongoCompressor> compressorList;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/mongodb/MongoCompressor;>;
public void <init>(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.MongoCredential>, com.mongodb.event.CommandListener, java.lang.String, com.mongodb.MongoDriverInformation, java.util.List<com.mongodb.MongoCompressor>);
descriptor: (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
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=12, args_size=12
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 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.mongodb.internal.connection.DefaultClusterableServerFactory.clusterId:Lcom/mongodb/connection/ClusterId;
2: aload 0
aload 2
putfield com.mongodb.internal.connection.DefaultClusterableServerFactory.clusterSettings:Lcom/mongodb/connection/ClusterSettings;
3: aload 0
aload 3
putfield com.mongodb.internal.connection.DefaultClusterableServerFactory.serverSettings:Lcom/mongodb/connection/ServerSettings;
4: aload 0
aload 4
putfield com.mongodb.internal.connection.DefaultClusterableServerFactory.connectionPoolSettings:Lcom/mongodb/connection/ConnectionPoolSettings;
5: aload 0
aload 5
putfield com.mongodb.internal.connection.DefaultClusterableServerFactory.streamFactory:Lcom/mongodb/connection/StreamFactory;
6: aload 0
aload 7
invokestatic com.mongodb.internal.connection.MongoCredentialWithCache.wrapCredentialList:(Ljava/util/List;)Ljava/util/List;
putfield com.mongodb.internal.connection.DefaultClusterableServerFactory.credentialList:Ljava/util/List;
7: aload 0
aload 6
putfield com.mongodb.internal.connection.DefaultClusterableServerFactory.heartbeatStreamFactory:Lcom/mongodb/connection/StreamFactory;
8: aload 0
aload 8
putfield com.mongodb.internal.connection.DefaultClusterableServerFactory.commandListener:Lcom/mongodb/event/CommandListener;
9: aload 0
aload 9
putfield com.mongodb.internal.connection.DefaultClusterableServerFactory.applicationName:Ljava/lang/String;
10: aload 0
aload 10
putfield com.mongodb.internal.connection.DefaultClusterableServerFactory.mongoDriverInformation:Lcom/mongodb/MongoDriverInformation;
11: aload 0
aload 11
putfield com.mongodb.internal.connection.DefaultClusterableServerFactory.compressorList:Ljava/util/List;
12: return
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 13 0 this Lcom/mongodb/internal/connection/DefaultClusterableServerFactory;
0 13 1 clusterId Lcom/mongodb/connection/ClusterId;
0 13 2 clusterSettings Lcom/mongodb/connection/ClusterSettings;
0 13 3 serverSettings Lcom/mongodb/connection/ServerSettings;
0 13 4 connectionPoolSettings Lcom/mongodb/connection/ConnectionPoolSettings;
0 13 5 streamFactory Lcom/mongodb/connection/StreamFactory;
0 13 6 heartbeatStreamFactory Lcom/mongodb/connection/StreamFactory;
0 13 7 credentialList Ljava/util/List<Lcom/mongodb/MongoCredential;>;
0 13 8 commandListener Lcom/mongodb/event/CommandListener;
0 13 9 applicationName Ljava/lang/String;
0 13 10 mongoDriverInformation Lcom/mongodb/MongoDriverInformation;
0 13 11 compressorList Ljava/util/List<Lcom/mongodb/MongoCompressor;>;
Signature: (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/MongoCredential;>;Lcom/mongodb/event/CommandListener;Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;Ljava/util/List<Lcom/mongodb/MongoCompressor;>;)V
MethodParameters:
Name Flags
clusterId final
clusterSettings final
serverSettings final
connectionPoolSettings final
streamFactory final
heartbeatStreamFactory final
credentialList final
commandListener final
applicationName final
mongoDriverInformation final
compressorList final
public com.mongodb.internal.connection.ClusterableServer create(com.mongodb.ServerAddress, com.mongodb.event.ServerListener, com.mongodb.internal.connection.ClusterClock);
descriptor: (Lcom/mongodb/ServerAddress;Lcom/mongodb/event/ServerListener;Lcom/mongodb/internal/connection/ClusterClock;)Lcom/mongodb/internal/connection/ClusterableServer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new com.mongodb.internal.connection.DefaultConnectionPool
dup
new com.mongodb.connection.ServerId
dup
aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.clusterId:Lcom/mongodb/connection/ClusterId;
aload 1
invokespecial com.mongodb.connection.ServerId.<init>:(Lcom/mongodb/connection/ClusterId;Lcom/mongodb/ServerAddress;)V
1: new com.mongodb.internal.connection.InternalStreamConnectionFactory
dup
aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.streamFactory:Lcom/mongodb/connection/StreamFactory;
aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.credentialList:Ljava/util/List;
aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.applicationName:Ljava/lang/String;
2: aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.mongoDriverInformation:Lcom/mongodb/MongoDriverInformation;
aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.compressorList:Ljava/util/List;
aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.commandListener:Lcom/mongodb/event/CommandListener;
3: invokespecial com.mongodb.internal.connection.InternalStreamConnectionFactory.<init>:(Lcom/mongodb/connection/StreamFactory;Ljava/util/List;Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;Ljava/util/List;Lcom/mongodb/event/CommandListener;)V
4: aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.connectionPoolSettings:Lcom/mongodb/connection/ConnectionPoolSettings;
5: invokespecial com.mongodb.internal.connection.DefaultConnectionPool.<init>:(Lcom/mongodb/connection/ServerId;Lcom/mongodb/internal/connection/InternalConnectionFactory;Lcom/mongodb/connection/ConnectionPoolSettings;)V
astore 4
start local 4 6: aload 4
invokeinterface com.mongodb.internal.connection.ConnectionPool.start:()V
7: new com.mongodb.internal.connection.DefaultServerMonitorFactory
dup
new com.mongodb.connection.ServerId
dup
aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.clusterId:Lcom/mongodb/connection/ClusterId;
aload 1
invokespecial com.mongodb.connection.ServerId.<init>:(Lcom/mongodb/connection/ClusterId;Lcom/mongodb/ServerAddress;)V
aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.serverSettings:Lcom/mongodb/connection/ServerSettings;
aload 3
8: new com.mongodb.internal.connection.InternalStreamConnectionFactory
dup
aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.heartbeatStreamFactory:Lcom/mongodb/connection/StreamFactory;
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
9: aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.applicationName:Ljava/lang/String;
aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.mongoDriverInformation:Lcom/mongodb/MongoDriverInformation;
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
aconst_null
10: invokespecial com.mongodb.internal.connection.InternalStreamConnectionFactory.<init>:(Lcom/mongodb/connection/StreamFactory;Ljava/util/List;Ljava/lang/String;Lcom/mongodb/MongoDriverInformation;Ljava/util/List;Lcom/mongodb/event/CommandListener;)V
11: aload 4
12: invokespecial com.mongodb.internal.connection.DefaultServerMonitorFactory.<init>:(Lcom/mongodb/connection/ServerId;Lcom/mongodb/connection/ServerSettings;Lcom/mongodb/internal/connection/ClusterClock;Lcom/mongodb/internal/connection/InternalConnectionFactory;Lcom/mongodb/internal/connection/ConnectionPool;)V
13: astore 5
start local 5 14: new com.mongodb.internal.connection.DefaultServer
dup
new com.mongodb.connection.ServerId
dup
aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.clusterId:Lcom/mongodb/connection/ClusterId;
aload 1
invokespecial com.mongodb.connection.ServerId.<init>:(Lcom/mongodb/connection/ClusterId;Lcom/mongodb/ServerAddress;)V
aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.clusterSettings:Lcom/mongodb/connection/ClusterSettings;
invokevirtual com.mongodb.connection.ClusterSettings.getMode:()Lcom/mongodb/connection/ClusterConnectionMode;
aload 4
15: new com.mongodb.internal.connection.DefaultConnectionFactory
dup
invokespecial com.mongodb.internal.connection.DefaultConnectionFactory.<init>:()V
aload 5
aload 2
aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.commandListener:Lcom/mongodb/event/CommandListener;
aload 3
16: invokespecial com.mongodb.internal.connection.DefaultServer.<init>:(Lcom/mongodb/connection/ServerId;Lcom/mongodb/connection/ClusterConnectionMode;Lcom/mongodb/internal/connection/ConnectionPool;Lcom/mongodb/internal/connection/ConnectionFactory;Lcom/mongodb/internal/connection/ServerMonitorFactory;Lcom/mongodb/event/ServerListener;Lcom/mongodb/event/CommandListener;Lcom/mongodb/internal/connection/ClusterClock;)V
areturn
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 17 0 this Lcom/mongodb/internal/connection/DefaultClusterableServerFactory;
0 17 1 serverAddress Lcom/mongodb/ServerAddress;
0 17 2 serverListener Lcom/mongodb/event/ServerListener;
0 17 3 clusterClock Lcom/mongodb/internal/connection/ClusterClock;
6 17 4 connectionPool Lcom/mongodb/internal/connection/ConnectionPool;
14 17 5 serverMonitorFactory Lcom/mongodb/internal/connection/ServerMonitorFactory;
MethodParameters:
Name Flags
serverAddress final
serverListener final
clusterClock final
public com.mongodb.connection.ServerSettings getSettings();
descriptor: ()Lcom/mongodb/connection/ServerSettings;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.DefaultClusterableServerFactory.serverSettings:Lcom/mongodb/connection/ServerSettings;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/DefaultClusterableServerFactory;
}
SourceFile: "DefaultClusterableServerFactory.java"