public class com.mongodb.client.internal.MongoClientDelegate
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.client.internal.MongoClientDelegate
super_class: java.lang.Object
{
private final com.mongodb.connection.Cluster cluster;
descriptor: Lcom/mongodb/connection/Cluster;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.internal.session.ServerSessionPool serverSessionPool;
descriptor: Lcom/mongodb/internal/session/ServerSessionPool;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<com.mongodb.MongoCredential> credentialList;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lcom/mongodb/MongoCredential;>;
private final java.lang.Object originator;
descriptor: Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.client.internal.OperationExecutor operationExecutor;
descriptor: Lcom/mongodb/client/internal/OperationExecutor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.client.internal.Crypt crypt;
descriptor: Lcom/mongodb/client/internal/Crypt;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bson.codecs.configuration.CodecRegistry codecRegistry;
descriptor: Lorg/bson/codecs/configuration/CodecRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.mongodb.connection.Cluster, org.bson.codecs.configuration.CodecRegistry, java.util.List<com.mongodb.MongoCredential>, , com.mongodb.client.internal.Crypt);
descriptor: (Lcom/mongodb/connection/Cluster;Lorg/bson/codecs/configuration/CodecRegistry;Ljava/util/List;Ljava/lang/Object;Lcom/mongodb/client/internal/Crypt;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 4
aconst_null
aload 5
invokespecial com.mongodb.client.internal.MongoClientDelegate.<init>:(Lcom/mongodb/connection/Cluster;Lorg/bson/codecs/configuration/CodecRegistry;Ljava/util/List;Ljava/lang/Object;Lcom/mongodb/client/internal/OperationExecutor;Lcom/mongodb/client/internal/Crypt;)V
1: return
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 2 0 this Lcom/mongodb/client/internal/MongoClientDelegate;
0 2 1 cluster Lcom/mongodb/connection/Cluster;
0 2 2 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
0 2 3 credentialList Ljava/util/List<Lcom/mongodb/MongoCredential;>;
0 2 4 originator Ljava/lang/Object;
0 2 5 crypt Lcom/mongodb/client/internal/Crypt;
Signature: (Lcom/mongodb/connection/Cluster;Lorg/bson/codecs/configuration/CodecRegistry;Ljava/util/List<Lcom/mongodb/MongoCredential;>;Ljava/lang/Object;Lcom/mongodb/client/internal/Crypt;)V
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
4:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
cluster final
codecRegistry final
credentialList final
originator final
crypt final
void <init>(com.mongodb.connection.Cluster, org.bson.codecs.configuration.CodecRegistry, java.util.List<com.mongodb.MongoCredential>, , com.mongodb.client.internal.OperationExecutor, com.mongodb.client.internal.Crypt);
descriptor: (Lcom/mongodb/connection/Cluster;Lorg/bson/codecs/configuration/CodecRegistry;Ljava/util/List;Ljava/lang/Object;Lcom/mongodb/client/internal/OperationExecutor;Lcom/mongodb/client/internal/Crypt;)V
flags: (0x0000)
Code:
stack=4, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.mongodb.client.internal.MongoClientDelegate.cluster:Lcom/mongodb/connection/Cluster;
2: aload 0
aload 2
putfield com.mongodb.client.internal.MongoClientDelegate.codecRegistry:Lorg/bson/codecs/configuration/CodecRegistry;
3: aload 0
new com.mongodb.internal.session.ServerSessionPool
dup
aload 1
invokespecial com.mongodb.internal.session.ServerSessionPool.<init>:(Lcom/mongodb/connection/Cluster;)V
putfield com.mongodb.client.internal.MongoClientDelegate.serverSessionPool:Lcom/mongodb/internal/session/ServerSessionPool;
4: aload 0
aload 3
putfield com.mongodb.client.internal.MongoClientDelegate.credentialList:Ljava/util/List;
5: aload 0
aload 4
putfield com.mongodb.client.internal.MongoClientDelegate.originator:Ljava/lang/Object;
6: aload 0
aload 5
ifnonnull 7
new com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor
dup
aload 0
invokespecial com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.<init>:(Lcom/mongodb/client/internal/MongoClientDelegate;)V
goto 8
StackMap locals: com.mongodb.client.internal.MongoClientDelegate com.mongodb.connection.Cluster org.bson.codecs.configuration.CodecRegistry java.util.List java.lang.Object com.mongodb.client.internal.OperationExecutor com.mongodb.client.internal.Crypt
StackMap stack: com.mongodb.client.internal.MongoClientDelegate
7: aload 5
StackMap locals: com.mongodb.client.internal.MongoClientDelegate com.mongodb.connection.Cluster org.bson.codecs.configuration.CodecRegistry java.util.List java.lang.Object com.mongodb.client.internal.OperationExecutor com.mongodb.client.internal.Crypt
StackMap stack: com.mongodb.client.internal.MongoClientDelegate com.mongodb.client.internal.OperationExecutor
8: putfield com.mongodb.client.internal.MongoClientDelegate.operationExecutor:Lcom/mongodb/client/internal/OperationExecutor;
9: aload 0
aload 6
putfield com.mongodb.client.internal.MongoClientDelegate.crypt:Lcom/mongodb/client/internal/Crypt;
10: return
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 11 0 this Lcom/mongodb/client/internal/MongoClientDelegate;
0 11 1 cluster Lcom/mongodb/connection/Cluster;
0 11 2 codecRegistry Lorg/bson/codecs/configuration/CodecRegistry;
0 11 3 credentialList Ljava/util/List<Lcom/mongodb/MongoCredential;>;
0 11 4 originator Ljava/lang/Object;
0 11 5 operationExecutor Lcom/mongodb/client/internal/OperationExecutor;
0 11 6 crypt Lcom/mongodb/client/internal/Crypt;
Signature: (Lcom/mongodb/connection/Cluster;Lorg/bson/codecs/configuration/CodecRegistry;Ljava/util/List<Lcom/mongodb/MongoCredential;>;Ljava/lang/Object;Lcom/mongodb/client/internal/OperationExecutor;Lcom/mongodb/client/internal/Crypt;)V
RuntimeVisibleParameterAnnotations:
0:
1:
2:
3:
4:
com.mongodb.lang.Nullable()
5:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
cluster final
codecRegistry final
credentialList final
originator final
operationExecutor final
crypt final
public com.mongodb.client.internal.OperationExecutor getOperationExecutor();
descriptor: ()Lcom/mongodb/client/internal/OperationExecutor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.internal.MongoClientDelegate.operationExecutor:Lcom/mongodb/client/internal/OperationExecutor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/internal/MongoClientDelegate;
public com.mongodb.client.ClientSession createClientSession(com.mongodb.ClientSessionOptions, com.mongodb.ReadConcern, com.mongodb.WriteConcern, com.mongodb.ReadPreference);
descriptor: (Lcom/mongodb/ClientSessionOptions;Lcom/mongodb/ReadConcern;Lcom/mongodb/WriteConcern;Lcom/mongodb/ReadPreference;)Lcom/mongodb/client/ClientSession;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: ldc "readConcern"
aload 2
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: ldc "writeConcern"
aload 3
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: ldc "readPreference"
aload 4
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
getfield com.mongodb.client.internal.MongoClientDelegate.credentialList:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
if_icmple 5
4: aconst_null
areturn
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.mongodb.client.internal.MongoClientDelegate.getConnectedClusterDescription:()Lcom/mongodb/connection/ClusterDescription;
astore 5
start local 5 6: aload 5
invokevirtual com.mongodb.connection.ClusterDescription.getLogicalSessionTimeoutMinutes:()Ljava/lang/Integer;
ifnonnull 8
7: aconst_null
areturn
8: StackMap locals: com.mongodb.connection.ClusterDescription
StackMap stack:
aload 1
invokestatic com.mongodb.ClientSessionOptions.builder:(Lcom/mongodb/ClientSessionOptions;)Lcom/mongodb/ClientSessionOptions$Builder;
9: aload 1
invokevirtual com.mongodb.ClientSessionOptions.getDefaultTransactionOptions:()Lcom/mongodb/TransactionOptions;
10: invokestatic com.mongodb.TransactionOptions.builder:()Lcom/mongodb/TransactionOptions$Builder;
11: aload 2
invokevirtual com.mongodb.TransactionOptions$Builder.readConcern:(Lcom/mongodb/ReadConcern;)Lcom/mongodb/TransactionOptions$Builder;
12: aload 3
invokevirtual com.mongodb.TransactionOptions$Builder.writeConcern:(Lcom/mongodb/WriteConcern;)Lcom/mongodb/TransactionOptions$Builder;
13: aload 4
invokevirtual com.mongodb.TransactionOptions$Builder.readPreference:(Lcom/mongodb/ReadPreference;)Lcom/mongodb/TransactionOptions$Builder;
14: invokevirtual com.mongodb.TransactionOptions$Builder.build:()Lcom/mongodb/TransactionOptions;
15: invokestatic com.mongodb.TransactionOptions.merge:(Lcom/mongodb/TransactionOptions;Lcom/mongodb/TransactionOptions;)Lcom/mongodb/TransactionOptions;
16: invokevirtual com.mongodb.ClientSessionOptions$Builder.defaultTransactionOptions:(Lcom/mongodb/TransactionOptions;)Lcom/mongodb/ClientSessionOptions$Builder;
17: invokevirtual com.mongodb.ClientSessionOptions$Builder.build:()Lcom/mongodb/ClientSessionOptions;
18: astore 6
start local 6 19: new com.mongodb.client.internal.ClientSessionImpl
dup
aload 0
getfield com.mongodb.client.internal.MongoClientDelegate.serverSessionPool:Lcom/mongodb/internal/session/ServerSessionPool;
aload 0
getfield com.mongodb.client.internal.MongoClientDelegate.originator:Ljava/lang/Object;
aload 6
aload 0
invokespecial com.mongodb.client.internal.ClientSessionImpl.<init>:(Lcom/mongodb/internal/session/ServerSessionPool;Ljava/lang/Object;Lcom/mongodb/ClientSessionOptions;Lcom/mongodb/client/internal/MongoClientDelegate;)V
areturn
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 20 0 this Lcom/mongodb/client/internal/MongoClientDelegate;
0 20 1 options Lcom/mongodb/ClientSessionOptions;
0 20 2 readConcern Lcom/mongodb/ReadConcern;
0 20 3 writeConcern Lcom/mongodb/WriteConcern;
0 20 4 readPreference Lcom/mongodb/ReadPreference;
6 20 5 connectedClusterDescription Lcom/mongodb/connection/ClusterDescription;
19 20 6 mergedOptions Lcom/mongodb/ClientSessionOptions;
RuntimeVisibleAnnotations:
com.mongodb.lang.Nullable()
MethodParameters:
Name Flags
options final
readConcern final
writeConcern final
readPreference final
public java.util.List<com.mongodb.ServerAddress> getServerAddressList();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 0
getfield com.mongodb.client.internal.MongoClientDelegate.cluster:Lcom/mongodb/connection/Cluster;
invokeinterface com.mongodb.connection.Cluster.getDescription:()Lcom/mongodb/connection/ClusterDescription;
invokevirtual com.mongodb.connection.ClusterDescription.getServerDescriptions:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: com.mongodb.client.internal.MongoClientDelegate java.util.List top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.mongodb.connection.ServerDescription
astore 2
start local 2 3: aload 1
aload 2
invokevirtual com.mongodb.connection.ServerDescription.getAddress:()Lcom/mongodb/ServerAddress;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/client/internal/MongoClientDelegate;
1 6 1 serverAddresses Ljava/util/List<Lcom/mongodb/ServerAddress;>;
3 4 2 cur Lcom/mongodb/connection/ServerDescription;
Signature: ()Ljava/util/List<Lcom/mongodb/ServerAddress;>;
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.internal.MongoClientDelegate.crypt:Lcom/mongodb/client/internal/Crypt;
ifnull 2
1: aload 0
getfield com.mongodb.client.internal.MongoClientDelegate.crypt:Lcom/mongodb/client/internal/Crypt;
invokevirtual com.mongodb.client.internal.Crypt.close:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.client.internal.MongoClientDelegate.serverSessionPool:Lcom/mongodb/internal/session/ServerSessionPool;
invokevirtual com.mongodb.internal.session.ServerSessionPool.close:()V
3: aload 0
getfield com.mongodb.client.internal.MongoClientDelegate.cluster:Lcom/mongodb/connection/Cluster;
invokeinterface com.mongodb.connection.Cluster.close:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/client/internal/MongoClientDelegate;
public com.mongodb.connection.Cluster getCluster();
descriptor: ()Lcom/mongodb/connection/Cluster;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.internal.MongoClientDelegate.cluster:Lcom/mongodb/connection/Cluster;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/internal/MongoClientDelegate;
public org.bson.codecs.configuration.CodecRegistry getCodecRegistry();
descriptor: ()Lorg/bson/codecs/configuration/CodecRegistry;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.internal.MongoClientDelegate.codecRegistry:Lorg/bson/codecs/configuration/CodecRegistry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/internal/MongoClientDelegate;
public com.mongodb.internal.session.ServerSessionPool getServerSessionPool();
descriptor: ()Lcom/mongodb/internal/session/ServerSessionPool;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.internal.MongoClientDelegate.serverSessionPool:Lcom/mongodb/internal/session/ServerSessionPool;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/client/internal/MongoClientDelegate;
private com.mongodb.connection.ClusterDescription getConnectedClusterDescription();
descriptor: ()Lcom/mongodb/connection/ClusterDescription;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield com.mongodb.client.internal.MongoClientDelegate.cluster:Lcom/mongodb/connection/Cluster;
invokeinterface com.mongodb.connection.Cluster.getDescription:()Lcom/mongodb/connection/ClusterDescription;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual com.mongodb.client.internal.MongoClientDelegate.getServerDescriptionListToConsiderForSessionSupport:(Lcom/mongodb/connection/ClusterDescription;)Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 4
2: aload 0
getfield com.mongodb.client.internal.MongoClientDelegate.cluster:Lcom/mongodb/connection/Cluster;
new com.mongodb.client.internal.MongoClientDelegate$1
dup
aload 0
invokespecial com.mongodb.client.internal.MongoClientDelegate$1.<init>:(Lcom/mongodb/client/internal/MongoClientDelegate;)V
invokeinterface com.mongodb.connection.Cluster.selectServer:(Lcom/mongodb/selector/ServerSelector;)Lcom/mongodb/connection/Server;
pop
3: aload 0
getfield com.mongodb.client.internal.MongoClientDelegate.cluster:Lcom/mongodb/connection/Cluster;
invokeinterface com.mongodb.connection.Cluster.getDescription:()Lcom/mongodb/connection/ClusterDescription;
astore 1
4: StackMap locals: com.mongodb.connection.ClusterDescription
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/client/internal/MongoClientDelegate;
1 5 1 clusterDescription Lcom/mongodb/connection/ClusterDescription;
private java.util.List<com.mongodb.connection.ServerDescription> getServerDescriptionListToConsiderForSessionSupport(com.mongodb.connection.ClusterDescription);
descriptor: (Lcom/mongodb/connection/ClusterDescription;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.mongodb.connection.ClusterDescription.getConnectionMode:()Lcom/mongodb/connection/ClusterConnectionMode;
getstatic com.mongodb.connection.ClusterConnectionMode.SINGLE:Lcom/mongodb/connection/ClusterConnectionMode;
if_acmpne 2
1: aload 1
invokevirtual com.mongodb.connection.ClusterDescription.getAny:()Ljava/util/List;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.mongodb.connection.ClusterDescription.getAnyPrimaryOrSecondary:()Ljava/util/List;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/client/internal/MongoClientDelegate;
0 3 1 clusterDescription Lcom/mongodb/connection/ClusterDescription;
Signature: (Lcom/mongodb/connection/ClusterDescription;)Ljava/util/List<Lcom/mongodb/connection/ServerDescription;>;
MethodParameters:
Name Flags
clusterDescription final
}
SourceFile: "MongoClientDelegate.java"
NestMembers:
com.mongodb.client.internal.MongoClientDelegate$1 com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor
InnerClasses:
public final Builder = com.mongodb.ClientSessionOptions$Builder of com.mongodb.ClientSessionOptions
public final Builder = com.mongodb.TransactionOptions$Builder of com.mongodb.TransactionOptions
com.mongodb.client.internal.MongoClientDelegate$1
private DelegateOperationExecutor = com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor of com.mongodb.client.internal.MongoClientDelegate