class com.mongodb.operation.CommandOperationHelper$13$1 implements com.mongodb.operation.OperationHelper$CallableWithConnectionAndSource<R>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.operation.CommandOperationHelper$13$1
super_class: java.lang.Object
{
final com.mongodb.operation.CommandOperationHelper$13 this$1;
descriptor: Lcom/mongodb/operation/CommandOperationHelper$13;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.binding.WriteBinding val$binding;
descriptor: Lcom/mongodb/binding/WriteBinding;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.MongoException val$originalException;
descriptor: Lcom/mongodb/MongoException;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.Function val$retryCommandModifier;
descriptor: Lcom/mongodb/Function;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.bson.BsonDocument val$originalCommand;
descriptor: Lorg/bson/BsonDocument;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.operation.CommandOperationHelper$CommandWriteTransformer val$transformer;
descriptor: Lcom/mongodb/operation/CommandOperationHelper$CommandWriteTransformer;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.String val$database;
descriptor: Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.bson.FieldNameValidator val$fieldNameValidator;
descriptor: Lorg/bson/FieldNameValidator;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.ReadPreference val$readPreference;
descriptor: Lcom/mongodb/ReadPreference;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final org.bson.codecs.Decoder val$commandResultDecoder;
descriptor: Lorg/bson/codecs/Decoder;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.operation.CommandOperationHelper$13, com.mongodb.binding.WriteBinding, com.mongodb.MongoException, com.mongodb.Function, org.bson.BsonDocument, com.mongodb.operation.CommandOperationHelper$CommandWriteTransformer, java.lang.String, org.bson.FieldNameValidator, com.mongodb.ReadPreference, org.bson.codecs.Decoder);
descriptor: (Lcom/mongodb/operation/CommandOperationHelper$13;Lcom/mongodb/binding/WriteBinding;Lcom/mongodb/MongoException;Lcom/mongodb/Function;Lorg/bson/BsonDocument;Lcom/mongodb/operation/CommandOperationHelper$CommandWriteTransformer;Ljava/lang/String;Lorg/bson/FieldNameValidator;Lcom/mongodb/ReadPreference;Lorg/bson/codecs/Decoder;)V
flags: (0x0000)
Code:
stack=2, locals=11, args_size=11
start local 0 0: aload 0
aload 1
putfield com.mongodb.operation.CommandOperationHelper$13$1.this$1:Lcom/mongodb/operation/CommandOperationHelper$13;
aload 0
aload 2
putfield com.mongodb.operation.CommandOperationHelper$13$1.val$binding:Lcom/mongodb/binding/WriteBinding;
aload 0
aload 3
putfield com.mongodb.operation.CommandOperationHelper$13$1.val$originalException:Lcom/mongodb/MongoException;
aload 0
aload 4
putfield com.mongodb.operation.CommandOperationHelper$13$1.val$retryCommandModifier:Lcom/mongodb/Function;
aload 0
aload 5
putfield com.mongodb.operation.CommandOperationHelper$13$1.val$originalCommand:Lorg/bson/BsonDocument;
aload 0
aload 6
putfield com.mongodb.operation.CommandOperationHelper$13$1.val$transformer:Lcom/mongodb/operation/CommandOperationHelper$CommandWriteTransformer;
aload 0
aload 7
putfield com.mongodb.operation.CommandOperationHelper$13$1.val$database:Ljava/lang/String;
aload 0
aload 8
putfield com.mongodb.operation.CommandOperationHelper$13$1.val$fieldNameValidator:Lorg/bson/FieldNameValidator;
aload 0
aload 9
putfield com.mongodb.operation.CommandOperationHelper$13$1.val$readPreference:Lcom/mongodb/ReadPreference;
aload 0
aload 10
putfield com.mongodb.operation.CommandOperationHelper$13$1.val$commandResultDecoder:Lorg/bson/codecs/Decoder;
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/CommandOperationHelper$13$1;
MethodParameters:
Name Flags
this$0 final
val$binding final
val$originalException final
val$retryCommandModifier final
val$originalCommand final
val$transformer final
val$database final
val$fieldNameValidator final
val$readPreference final
val$commandResultDecoder final
public R call(com.mongodb.binding.ConnectionSource, com.mongodb.connection.Connection);
descriptor: (Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface com.mongodb.binding.ConnectionSource.getServerDescription:()Lcom/mongodb/connection/ServerDescription;
aload 2
invokeinterface com.mongodb.connection.Connection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
aload 0
getfield com.mongodb.operation.CommandOperationHelper$13$1.val$binding:Lcom/mongodb/binding/WriteBinding;
invokeinterface com.mongodb.binding.WriteBinding.getSessionContext:()Lcom/mongodb/session/SessionContext;
invokestatic com.mongodb.operation.OperationHelper.canRetryWrite:(Lcom/mongodb/connection/ServerDescription;Lcom/mongodb/connection/ConnectionDescription;Lcom/mongodb/session/SessionContext;)Z
ifne 2
1: aload 0
getfield com.mongodb.operation.CommandOperationHelper$13$1.val$originalException:Lcom/mongodb/MongoException;
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.operation.CommandOperationHelper$13$1.val$retryCommandModifier:Lcom/mongodb/Function;
aload 0
getfield com.mongodb.operation.CommandOperationHelper$13$1.val$originalCommand:Lorg/bson/BsonDocument;
invokeinterface com.mongodb.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bson.BsonDocument
astore 3
start local 3 3: aload 3
invokevirtual org.bson.BsonDocument.getFirstKey:()Ljava/lang/String;
aload 0
getfield com.mongodb.operation.CommandOperationHelper$13$1.val$originalException:Lcom/mongodb/MongoException;
invokestatic com.mongodb.operation.CommandOperationHelper.logRetryExecute:(Ljava/lang/String;Ljava/lang/Throwable;)V
4: aload 0
getfield com.mongodb.operation.CommandOperationHelper$13$1.val$transformer:Lcom/mongodb/operation/CommandOperationHelper$CommandWriteTransformer;
aload 2
aload 0
getfield com.mongodb.operation.CommandOperationHelper$13$1.val$database:Ljava/lang/String;
aload 3
aload 0
getfield com.mongodb.operation.CommandOperationHelper$13$1.val$fieldNameValidator:Lorg/bson/FieldNameValidator;
5: aload 0
getfield com.mongodb.operation.CommandOperationHelper$13$1.val$readPreference:Lcom/mongodb/ReadPreference;
aload 0
getfield com.mongodb.operation.CommandOperationHelper$13$1.val$commandResultDecoder:Lorg/bson/codecs/Decoder;
aload 0
getfield com.mongodb.operation.CommandOperationHelper$13$1.val$binding:Lcom/mongodb/binding/WriteBinding;
invokeinterface com.mongodb.binding.WriteBinding.getSessionContext:()Lcom/mongodb/session/SessionContext;
6: invokeinterface com.mongodb.connection.Connection.command:(Ljava/lang/String;Lorg/bson/BsonDocument;Lorg/bson/FieldNameValidator;Lcom/mongodb/ReadPreference;Lorg/bson/codecs/Decoder;Lcom/mongodb/session/SessionContext;)Ljava/lang/Object;
7: aload 2
8: invokeinterface com.mongodb.operation.CommandOperationHelper$CommandWriteTransformer.apply:(Ljava/lang/Object;Lcom/mongodb/connection/Connection;)Ljava/lang/Object;
astore 5
9: aload 2
invokeinterface com.mongodb.connection.Connection.release:()V
10: aload 5
areturn
end local 3 11: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
12: aload 2
invokeinterface com.mongodb.connection.Connection.release:()V
13: aload 4
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/mongodb/operation/CommandOperationHelper$13$1;
0 14 1 source Lcom/mongodb/binding/ConnectionSource;
0 14 2 connection Lcom/mongodb/connection/Connection;
3 11 3 retryCommand Lorg/bson/BsonDocument;
Exception table:
from to target type
0 9 11 any
Signature: (Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;)TR;
MethodParameters:
Name Flags
source final
connection final
}
Signature: Ljava/lang/Object;Lcom/mongodb/operation/OperationHelper$CallableWithConnectionAndSource<TR;>;
SourceFile: "CommandOperationHelper.java"
EnclosingMethod: com.mongodb.operation.CommandOperationHelper$13.call:(Lcom/mongodb/binding/ConnectionSource;Lcom/mongodb/connection/Connection;)Ljava/lang/Object;
NestHost: com.mongodb.operation.CommandOperationHelper
InnerClasses:
com.mongodb.operation.CommandOperationHelper$13
com.mongodb.operation.CommandOperationHelper$13$1
abstract CommandWriteTransformer = com.mongodb.operation.CommandOperationHelper$CommandWriteTransformer of com.mongodb.operation.CommandOperationHelper
abstract CallableWithConnectionAndSource = com.mongodb.operation.OperationHelper$CallableWithConnectionAndSource of com.mongodb.operation.OperationHelper