class com.mongodb.operation.BaseWriteOperation$1 implements com.mongodb.async.SingleResultCallback<com.mongodb.bulk.BulkWriteResult>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.operation.BaseWriteOperation$1
super_class: java.lang.Object
{
final com.mongodb.operation.BaseWriteOperation this$0;
descriptor: Lcom/mongodb/operation/BaseWriteOperation;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.async.SingleResultCallback val$callback;
descriptor: Lcom/mongodb/async/SingleResultCallback;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.operation.BaseWriteOperation, com.mongodb.async.SingleResultCallback);
descriptor: (Lcom/mongodb/operation/BaseWriteOperation;Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield com.mongodb.operation.BaseWriteOperation$1.this$0:Lcom/mongodb/operation/BaseWriteOperation;
aload 0
aload 2
putfield com.mongodb.operation.BaseWriteOperation$1.val$callback:Lcom/mongodb/async/SingleResultCallback;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/operation/BaseWriteOperation$1;
MethodParameters:
Name Flags
this$0 final
val$callback final
public void onResult(com.mongodb.bulk.BulkWriteResult, java.lang.Throwable);
descriptor: (Lcom/mongodb/bulk/BulkWriteResult;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnull 6
1: aload 2
instanceof com.mongodb.MongoBulkWriteException
ifeq 4
2: aload 0
getfield com.mongodb.operation.BaseWriteOperation$1.val$callback:Lcom/mongodb/async/SingleResultCallback;
aconst_null
aload 0
getfield com.mongodb.operation.BaseWriteOperation$1.this$0:Lcom/mongodb/operation/BaseWriteOperation;
aload 2
checkcast com.mongodb.MongoBulkWriteException
invokevirtual com.mongodb.operation.BaseWriteOperation.convertBulkWriteException:(Lcom/mongodb/MongoBulkWriteException;)Lcom/mongodb/MongoException;
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
3: goto 10
4: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.BaseWriteOperation$1.val$callback:Lcom/mongodb/async/SingleResultCallback;
aconst_null
aload 2
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
5: goto 10
StackMap locals:
StackMap stack:
6: aload 1
invokevirtual com.mongodb.bulk.BulkWriteResult.wasAcknowledged:()Z
ifeq 9
7: aload 0
getfield com.mongodb.operation.BaseWriteOperation$1.val$callback:Lcom/mongodb/async/SingleResultCallback;
aload 0
getfield com.mongodb.operation.BaseWriteOperation$1.this$0:Lcom/mongodb/operation/BaseWriteOperation;
aload 1
invokevirtual com.mongodb.operation.BaseWriteOperation.translateBulkWriteResult:(Lcom/mongodb/bulk/BulkWriteResult;)Lcom/mongodb/WriteConcernResult;
aconst_null
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.BaseWriteOperation$1.val$callback:Lcom/mongodb/async/SingleResultCallback;
invokestatic com.mongodb.WriteConcernResult.unacknowledged:()Lcom/mongodb/WriteConcernResult;
aconst_null
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/mongodb/operation/BaseWriteOperation$1;
0 11 1 result Lcom/mongodb/bulk/BulkWriteResult;
0 11 2 t Ljava/lang/Throwable;
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.bulk.BulkWriteResult
aload 2
invokevirtual com.mongodb.operation.BaseWriteOperation$1.onResult:(Lcom/mongodb/bulk/BulkWriteResult;Ljava/lang/Throwable;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/bulk/BulkWriteResult;>;
SourceFile: "BaseWriteOperation.java"
EnclosingMethod: com.mongodb.operation.BaseWriteOperation.executeAsync:(Lcom/mongodb/binding/AsyncWriteBinding;Lcom/mongodb/async/SingleResultCallback;)V
NestHost: com.mongodb.operation.BaseWriteOperation
InnerClasses:
com.mongodb.operation.BaseWriteOperation$1