public class com.mongodb.binding.AsyncSingleConnectionReadBinding extends com.mongodb.internal.binding.AbstractReferenceCounted implements com.mongodb.binding.AsyncReadBinding
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.binding.AsyncSingleConnectionReadBinding
super_class: com.mongodb.internal.binding.AbstractReferenceCounted
{
private final com.mongodb.ReadPreference readPreference;
descriptor: Lcom/mongodb/ReadPreference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.connection.ServerDescription serverDescription;
descriptor: Lcom/mongodb/connection/ServerDescription;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.connection.AsyncConnection connection;
descriptor: Lcom/mongodb/connection/AsyncConnection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.mongodb.ReadPreference, com.mongodb.connection.ServerDescription, com.mongodb.connection.AsyncConnection);
descriptor: (Lcom/mongodb/ReadPreference;Lcom/mongodb/connection/ServerDescription;Lcom/mongodb/connection/AsyncConnection;)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 "readPreference"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.ReadPreference
putfield com.mongodb.binding.AsyncSingleConnectionReadBinding.readPreference:Lcom/mongodb/ReadPreference;
2: aload 0
ldc "serverDescription"
aload 2
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.connection.ServerDescription
putfield com.mongodb.binding.AsyncSingleConnectionReadBinding.serverDescription:Lcom/mongodb/connection/ServerDescription;
3: aload 0
ldc "connection"
aload 3
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.connection.AsyncConnection
invokeinterface com.mongodb.connection.AsyncConnection.retain:()Lcom/mongodb/connection/AsyncConnection;
putfield com.mongodb.binding.AsyncSingleConnectionReadBinding.connection:Lcom/mongodb/connection/AsyncConnection;
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/AsyncSingleConnectionReadBinding;
0 5 1 readPreference Lcom/mongodb/ReadPreference;
0 5 2 serverDescription Lcom/mongodb/connection/ServerDescription;
0 5 3 connection Lcom/mongodb/connection/AsyncConnection;
MethodParameters:
Name Flags
readPreference final
serverDescription final
connection 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.AsyncSingleConnectionReadBinding.readPreference:Lcom/mongodb/ReadPreference;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/binding/AsyncSingleConnectionReadBinding;
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/AsyncSingleConnectionReadBinding;
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 1
new com.mongodb.binding.AsyncSingleConnectionReadBinding$AsyncSingleConnectionSource
dup
aload 0
invokespecial com.mongodb.binding.AsyncSingleConnectionReadBinding$AsyncSingleConnectionSource.<init>:(Lcom/mongodb/binding/AsyncSingleConnectionReadBinding;)V
aconst_null
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/binding/AsyncSingleConnectionReadBinding;
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 com.mongodb.binding.AsyncReadBinding retain();
descriptor: ()Lcom/mongodb/binding/AsyncReadBinding;
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/AsyncSingleConnectionReadBinding;
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
invokevirtual com.mongodb.binding.AsyncSingleConnectionReadBinding.getCount:()I
ifne 3
2: aload 0
getfield com.mongodb.binding.AsyncSingleConnectionReadBinding.connection:Lcom/mongodb/connection/AsyncConnection;
invokeinterface com.mongodb.connection.AsyncConnection.release:()V
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/binding/AsyncSingleConnectionReadBinding;
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.AsyncSingleConnectionReadBinding.retain:()Lcom/mongodb/binding/AsyncReadBinding;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "AsyncSingleConnectionReadBinding.java"
NestMembers:
com.mongodb.binding.AsyncSingleConnectionReadBinding$AsyncSingleConnectionSource
InnerClasses:
private AsyncSingleConnectionSource = com.mongodb.binding.AsyncSingleConnectionReadBinding$AsyncSingleConnectionSource of com.mongodb.binding.AsyncSingleConnectionReadBinding
RuntimeVisibleAnnotations:
java.lang.Deprecated()