public class com.mongodb.binding.AsyncSingleServerBinding extends com.mongodb.internal.binding.AbstractReferenceCounted implements com.mongodb.binding.AsyncReadWriteBinding
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.binding.AsyncSingleServerBinding
super_class: com.mongodb.internal.binding.AbstractReferenceCounted
{
private final com.mongodb.connection.Cluster cluster;
descriptor: Lcom/mongodb/connection/Cluster;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.ServerAddress serverAddress;
descriptor: Lcom/mongodb/ServerAddress;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.ReadPreference readPreference;
descriptor: Lcom/mongodb/ReadPreference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.mongodb.connection.Cluster, com.mongodb.ServerAddress);
descriptor: (Lcom/mongodb/connection/Cluster;Lcom/mongodb/ServerAddress;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic com.mongodb.ReadPreference.primary:()Lcom/mongodb/ReadPreference;
invokespecial com.mongodb.binding.AsyncSingleServerBinding.<init>:(Lcom/mongodb/connection/Cluster;Lcom/mongodb/ServerAddress;Lcom/mongodb/ReadPreference;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/binding/AsyncSingleServerBinding;
0 2 1 cluster Lcom/mongodb/connection/Cluster;
0 2 2 serverAddress Lcom/mongodb/ServerAddress;
MethodParameters:
Name Flags
cluster final
serverAddress final
public void <init>(com.mongodb.connection.Cluster, com.mongodb.ServerAddress, com.mongodb.ReadPreference);
descriptor: (Lcom/mongodb/connection/Cluster;Lcom/mongodb/ServerAddress;Lcom/mongodb/ReadPreference;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial com.mongodb.internal.binding.AbstractReferenceCounted.<init>:()V
1: aload 0
ldc "cluster"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.connection.Cluster
putfield com.mongodb.binding.AsyncSingleServerBinding.cluster:Lcom/mongodb/connection/Cluster;
2: aload 0
ldc "serverAddress"
aload 2
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.ServerAddress
putfield com.mongodb.binding.AsyncSingleServerBinding.serverAddress:Lcom/mongodb/ServerAddress;
3: aload 0
ldc "readPreference"
aload 3
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.ReadPreference
putfield com.mongodb.binding.AsyncSingleServerBinding.readPreference:Lcom/mongodb/ReadPreference;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/binding/AsyncSingleServerBinding;
0 5 1 cluster Lcom/mongodb/connection/Cluster;
0 5 2 serverAddress Lcom/mongodb/ServerAddress;
0 5 3 readPreference Lcom/mongodb/ReadPreference;
MethodParameters:
Name Flags
cluster final
serverAddress final
readPreference final
public com.mongodb.ReadPreference getReadPreference();
descriptor: ()Lcom/mongodb/ReadPreference;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.binding.AsyncSingleServerBinding.readPreference:Lcom/mongodb/ReadPreference;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/binding/AsyncSingleServerBinding;
public void getReadConnectionSource(com.mongodb.async.SingleResultCallback<com.mongodb.binding.AsyncConnectionSource>);
descriptor: (Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new com.mongodb.selector.ServerAddressSelector
dup
aload 0
getfield com.mongodb.binding.AsyncSingleServerBinding.serverAddress:Lcom/mongodb/ServerAddress;
invokespecial com.mongodb.selector.ServerAddressSelector.<init>:(Lcom/mongodb/ServerAddress;)V
aload 1
invokevirtual com.mongodb.binding.AsyncSingleServerBinding.getAsyncSingleServerBindingConnectionSource:(Lcom/mongodb/selector/ServerSelector;Lcom/mongodb/async/SingleResultCallback;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/binding/AsyncSingleServerBinding;
0 2 1 callback Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/binding/AsyncConnectionSource;>;
Signature: (Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/binding/AsyncConnectionSource;>;)V
MethodParameters:
Name Flags
callback final
public void getWriteConnectionSource(com.mongodb.async.SingleResultCallback<com.mongodb.binding.AsyncConnectionSource>);
descriptor: (Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new com.mongodb.selector.ServerAddressSelector
dup
aload 0
getfield com.mongodb.binding.AsyncSingleServerBinding.serverAddress:Lcom/mongodb/ServerAddress;
invokespecial com.mongodb.selector.ServerAddressSelector.<init>:(Lcom/mongodb/ServerAddress;)V
aload 1
invokevirtual com.mongodb.binding.AsyncSingleServerBinding.getAsyncSingleServerBindingConnectionSource:(Lcom/mongodb/selector/ServerSelector;Lcom/mongodb/async/SingleResultCallback;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/binding/AsyncSingleServerBinding;
0 2 1 callback Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/binding/AsyncConnectionSource;>;
Signature: (Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/binding/AsyncConnectionSource;>;)V
MethodParameters:
Name Flags
callback final
private void getAsyncSingleServerBindingConnectionSource(com.mongodb.selector.ServerSelector, com.mongodb.async.SingleResultCallback<com.mongodb.binding.AsyncConnectionSource>);
descriptor: (Lcom/mongodb/selector/ServerSelector;Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.mongodb.binding.AsyncSingleServerBinding.cluster:Lcom/mongodb/connection/Cluster;
aload 1
new com.mongodb.binding.AsyncSingleServerBinding$1
dup
aload 0
aload 2
invokespecial com.mongodb.binding.AsyncSingleServerBinding$1.<init>:(Lcom/mongodb/binding/AsyncSingleServerBinding;Lcom/mongodb/async/SingleResultCallback;)V
invokeinterface com.mongodb.connection.Cluster.selectServerAsync:(Lcom/mongodb/selector/ServerSelector;Lcom/mongodb/async/SingleResultCallback;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/binding/AsyncSingleServerBinding;
0 2 1 serverSelector Lcom/mongodb/selector/ServerSelector;
0 2 2 callback Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/binding/AsyncConnectionSource;>;
Signature: (Lcom/mongodb/selector/ServerSelector;Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/binding/AsyncConnectionSource;>;)V
MethodParameters:
Name Flags
serverSelector final
callback final
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/AsyncSingleServerBinding;
public com.mongodb.binding.AsyncSingleServerBinding retain();
descriptor: ()Lcom/mongodb/binding/AsyncSingleServerBinding;
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/AsyncSingleServerBinding;
public com.mongodb.binding.AsyncReadBinding retain();
descriptor: ()Lcom/mongodb/binding/AsyncReadBinding;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.mongodb.binding.AsyncSingleServerBinding.retain:()Lcom/mongodb/binding/AsyncSingleServerBinding;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.mongodb.binding.AsyncWriteBinding retain();
descriptor: ()Lcom/mongodb/binding/AsyncWriteBinding;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.mongodb.binding.AsyncSingleServerBinding.retain:()Lcom/mongodb/binding/AsyncSingleServerBinding;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.mongodb.binding.AsyncReadWriteBinding retain();
descriptor: ()Lcom/mongodb/binding/AsyncReadWriteBinding;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.mongodb.binding.AsyncSingleServerBinding.retain:()Lcom/mongodb/binding/AsyncSingleServerBinding;
areturn
LocalVariableTable:
Start End Slot Name Signature
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.AsyncSingleServerBinding.retain:()Lcom/mongodb/binding/AsyncSingleServerBinding;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AsyncSingleServerBinding.java"
NestMembers:
com.mongodb.binding.AsyncSingleServerBinding$1 com.mongodb.binding.AsyncSingleServerBinding$AsyncSingleServerBindingConnectionSource
InnerClasses:
com.mongodb.binding.AsyncSingleServerBinding$1
private final AsyncSingleServerBindingConnectionSource = com.mongodb.binding.AsyncSingleServerBinding$AsyncSingleServerBindingConnectionSource of com.mongodb.binding.AsyncSingleServerBinding
RuntimeVisibleAnnotations:
java.lang.Deprecated()