final class com.mongodb.binding.SingleServerBinding$SingleServerBindingConnectionSource extends com.mongodb.internal.binding.AbstractReferenceCounted implements com.mongodb.binding.ConnectionSource
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.mongodb.binding.SingleServerBinding$SingleServerBindingConnectionSource
super_class: com.mongodb.internal.binding.AbstractReferenceCounted
{
private final com.mongodb.connection.Server server;
descriptor: Lcom/mongodb/connection/Server;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final com.mongodb.binding.SingleServerBinding this$0;
descriptor: Lcom/mongodb/binding/SingleServerBinding;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(com.mongodb.binding.SingleServerBinding);
descriptor: (Lcom/mongodb/binding/SingleServerBinding;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.mongodb.binding.SingleServerBinding$SingleServerBindingConnectionSource.this$0:Lcom/mongodb/binding/SingleServerBinding;
aload 0
invokespecial com.mongodb.internal.binding.AbstractReferenceCounted.<init>:()V
1: aload 1
invokevirtual com.mongodb.binding.SingleServerBinding.retain:()Lcom/mongodb/binding/SingleServerBinding;
pop
2: aload 0
aload 1
getfield com.mongodb.binding.SingleServerBinding.cluster:Lcom/mongodb/connection/Cluster;
new com.mongodb.selector.ServerAddressSelector
dup
aload 1
getfield com.mongodb.binding.SingleServerBinding.serverAddress:Lcom/mongodb/ServerAddress;
invokespecial com.mongodb.selector.ServerAddressSelector.<init>:(Lcom/mongodb/ServerAddress;)V
invokeinterface com.mongodb.connection.Cluster.selectServer:(Lcom/mongodb/selector/ServerSelector;)Lcom/mongodb/connection/Server;
putfield com.mongodb.binding.SingleServerBinding$SingleServerBindingConnectionSource.server:Lcom/mongodb/connection/Server;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/binding/SingleServerBinding$SingleServerBindingConnectionSource;
MethodParameters:
Name Flags
this$0 final
public com.mongodb.connection.ServerDescription getServerDescription();
descriptor: ()Lcom/mongodb/connection/ServerDescription;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.binding.SingleServerBinding$SingleServerBindingConnectionSource.server:Lcom/mongodb/connection/Server;
invokeinterface com.mongodb.connection.Server.getDescription:()Lcom/mongodb/connection/ServerDescription;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/binding/SingleServerBinding$SingleServerBindingConnectionSource;
public com.mongodb.session.SessionContext getSessionContext();
descriptor: ()Lcom/mongodb/session/SessionContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.mongodb.internal.connection.NoOpSessionContext.INSTANCE:Lcom/mongodb/internal/connection/NoOpSessionContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/binding/SingleServerBinding$SingleServerBindingConnectionSource;
public com.mongodb.connection.Connection getConnection();
descriptor: ()Lcom/mongodb/connection/Connection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.binding.SingleServerBinding$SingleServerBindingConnectionSource.this$0:Lcom/mongodb/binding/SingleServerBinding;
getfield com.mongodb.binding.SingleServerBinding.cluster:Lcom/mongodb/connection/Cluster;
new com.mongodb.selector.ServerAddressSelector
dup
aload 0
getfield com.mongodb.binding.SingleServerBinding$SingleServerBindingConnectionSource.this$0:Lcom/mongodb/binding/SingleServerBinding;
getfield com.mongodb.binding.SingleServerBinding.serverAddress:Lcom/mongodb/ServerAddress;
invokespecial com.mongodb.selector.ServerAddressSelector.<init>:(Lcom/mongodb/ServerAddress;)V
invokeinterface com.mongodb.connection.Cluster.selectServer:(Lcom/mongodb/selector/ServerSelector;)Lcom/mongodb/connection/Server;
invokeinterface com.mongodb.connection.Server.getConnection:()Lcom/mongodb/connection/Connection;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/binding/SingleServerBinding$SingleServerBindingConnectionSource;
public com.mongodb.binding.ConnectionSource retain();
descriptor: ()Lcom/mongodb/binding/ConnectionSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.mongodb.internal.binding.AbstractReferenceCounted.retain:()Lcom/mongodb/binding/ReferenceCounted;
pop
1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/binding/SingleServerBinding$SingleServerBindingConnectionSource;
public void release();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.mongodb.internal.binding.AbstractReferenceCounted.release:()V
1: aload 0
invokespecial com.mongodb.internal.binding.AbstractReferenceCounted.getCount:()I
ifne 3
2: aload 0
getfield com.mongodb.binding.SingleServerBinding$SingleServerBindingConnectionSource.this$0:Lcom/mongodb/binding/SingleServerBinding;
invokevirtual com.mongodb.binding.SingleServerBinding.release:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/binding/SingleServerBinding$SingleServerBindingConnectionSource;
public com.mongodb.binding.ReferenceCounted retain();
descriptor: ()Lcom/mongodb/binding/ReferenceCounted;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.mongodb.binding.SingleServerBinding$SingleServerBindingConnectionSource.retain:()Lcom/mongodb/binding/ConnectionSource;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "SingleServerBinding.java"
NestHost: com.mongodb.binding.SingleServerBinding
InnerClasses:
private final SingleServerBindingConnectionSource = com.mongodb.binding.SingleServerBinding$SingleServerBindingConnectionSource of com.mongodb.binding.SingleServerBinding