class com.mongodb.operation.AsyncQueryBatchCursor$QueryResultSingleResultCallback implements com.mongodb.async.SingleResultCallback<com.mongodb.connection.QueryResult<T>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.operation.AsyncQueryBatchCursor$QueryResultSingleResultCallback
super_class: java.lang.Object
{
private final com.mongodb.connection.AsyncConnection connection;
descriptor: Lcom/mongodb/connection/AsyncConnection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.async.SingleResultCallback<java.util.List<T>> callback;
descriptor: Lcom/mongodb/async/SingleResultCallback;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/mongodb/async/SingleResultCallback<Ljava/util/List<TT;>;>;
private final boolean tryNext;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final com.mongodb.operation.AsyncQueryBatchCursor this$0;
descriptor: Lcom/mongodb/operation/AsyncQueryBatchCursor;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.connection.AsyncConnection, com.mongodb.async.SingleResultCallback<java.util.List<T>>, );
descriptor: (Lcom/mongodb/operation/AsyncQueryBatchCursor;Lcom/mongodb/connection/AsyncConnection;Lcom/mongodb/async/SingleResultCallback;Z)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield com.mongodb.operation.AsyncQueryBatchCursor$QueryResultSingleResultCallback.this$0:Lcom/mongodb/operation/AsyncQueryBatchCursor;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
aload 2
putfield com.mongodb.operation.AsyncQueryBatchCursor$QueryResultSingleResultCallback.connection:Lcom/mongodb/connection/AsyncConnection;
3: aload 0
aload 3
getstatic com.mongodb.operation.OperationHelper.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
invokestatic com.mongodb.internal.async.ErrorHandlingResultCallback.errorHandlingCallback:(Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/diagnostics/logging/Logger;)Lcom/mongodb/async/SingleResultCallback;
putfield com.mongodb.operation.AsyncQueryBatchCursor$QueryResultSingleResultCallback.callback:Lcom/mongodb/async/SingleResultCallback;
4: aload 0
iload 4
putfield com.mongodb.operation.AsyncQueryBatchCursor$QueryResultSingleResultCallback.tryNext:Z
5: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/operation/AsyncQueryBatchCursor$QueryResultSingleResultCallback;
0 6 2 connection Lcom/mongodb/connection/AsyncConnection;
0 6 3 callback Lcom/mongodb/async/SingleResultCallback<Ljava/util/List<TT;>;>;
0 6 4 tryNext Z
Signature: (Lcom/mongodb/connection/AsyncConnection;Lcom/mongodb/async/SingleResultCallback<Ljava/util/List<TT;>;>;Z)V
MethodParameters:
Name Flags
this$0 final
connection final
callback final
tryNext final
public void onResult(com.mongodb.connection.QueryResult<T>, java.lang.Throwable);
descriptor: (Lcom/mongodb/connection/QueryResult;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 5
1: aload 0
getfield com.mongodb.operation.AsyncQueryBatchCursor$QueryResultSingleResultCallback.connection:Lcom/mongodb/connection/AsyncConnection;
invokeinterface com.mongodb.connection.AsyncConnection.release:()V
2: aload 0
getfield com.mongodb.operation.AsyncQueryBatchCursor$QueryResultSingleResultCallback.this$0:Lcom/mongodb/operation/AsyncQueryBatchCursor;
invokevirtual com.mongodb.operation.AsyncQueryBatchCursor.endOperationInProgress:()V
3: aload 0
getfield com.mongodb.operation.AsyncQueryBatchCursor$QueryResultSingleResultCallback.callback:Lcom/mongodb/async/SingleResultCallback;
aconst_null
aload 2
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.AsyncQueryBatchCursor$QueryResultSingleResultCallback.this$0:Lcom/mongodb/operation/AsyncQueryBatchCursor;
aload 0
getfield com.mongodb.operation.AsyncQueryBatchCursor$QueryResultSingleResultCallback.connection:Lcom/mongodb/connection/AsyncConnection;
aload 0
getfield com.mongodb.operation.AsyncQueryBatchCursor$QueryResultSingleResultCallback.callback:Lcom/mongodb/async/SingleResultCallback;
aload 1
aload 0
getfield com.mongodb.operation.AsyncQueryBatchCursor$QueryResultSingleResultCallback.tryNext:Z
invokevirtual com.mongodb.operation.AsyncQueryBatchCursor.handleGetMoreQueryResult:(Lcom/mongodb/connection/AsyncConnection;Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/connection/QueryResult;Z)V
6: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/operation/AsyncQueryBatchCursor$QueryResultSingleResultCallback;
0 7 1 result Lcom/mongodb/connection/QueryResult<TT;>;
0 7 2 t Ljava/lang/Throwable;
Signature: (Lcom/mongodb/connection/QueryResult<TT;>;Ljava/lang/Throwable;)V
MethodParameters:
Name Flags
result final
t final
public void onResult(java.lang.Object, java.lang.Throwable);
descriptor: (Ljava/lang/Object;Ljava/lang/Throwable;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast com.mongodb.connection.QueryResult
aload 2
invokevirtual com.mongodb.operation.AsyncQueryBatchCursor$QueryResultSingleResultCallback.onResult:(Lcom/mongodb/connection/QueryResult;Ljava/lang/Throwable;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/connection/QueryResult<TT;>;>;
SourceFile: "AsyncQueryBatchCursor.java"
NestHost: com.mongodb.operation.AsyncQueryBatchCursor
InnerClasses:
private QueryResultSingleResultCallback = com.mongodb.operation.AsyncQueryBatchCursor$QueryResultSingleResultCallback of com.mongodb.operation.AsyncQueryBatchCursor