class com.mongodb.operation.CommitTransactionOperation$5 implements com.mongodb.Function<org.bson.BsonDocument, org.bson.BsonDocument>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.operation.CommitTransactionOperation$5
super_class: java.lang.Object
{
final com.mongodb.operation.CommitTransactionOperation this$0;
descriptor: Lcom/mongodb/operation/CommitTransactionOperation;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.operation.CommitTransactionOperation);
descriptor: (Lcom/mongodb/operation/CommitTransactionOperation;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield com.mongodb.operation.CommitTransactionOperation$5.this$0:Lcom/mongodb/operation/CommitTransactionOperation;
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/CommitTransactionOperation$5;
MethodParameters:
Name Flags
this$0 final
public org.bson.BsonDocument apply(org.bson.BsonDocument);
descriptor: (Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.operation.CommitTransactionOperation$5.this$0:Lcom/mongodb/operation/CommitTransactionOperation;
invokevirtual com.mongodb.operation.CommitTransactionOperation.getWriteConcern:()Lcom/mongodb/WriteConcern;
ldc "majority"
invokevirtual com.mongodb.WriteConcern.withW:(Ljava/lang/String;)Lcom/mongodb/WriteConcern;
astore 2
start local 2 1: aload 2
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual com.mongodb.WriteConcern.getWTimeout:(Ljava/util/concurrent/TimeUnit;)Ljava/lang/Integer;
ifnonnull 3
2: aload 2
ldc 10000
getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
invokevirtual com.mongodb.WriteConcern.withWTimeout:(JLjava/util/concurrent/TimeUnit;)Lcom/mongodb/WriteConcern;
astore 2
3: StackMap locals: com.mongodb.WriteConcern
StackMap stack:
aload 1
ldc "writeConcern"
aload 2
invokevirtual com.mongodb.WriteConcern.asDocument:()Lorg/bson/BsonDocument;
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
4: aload 0
getfield com.mongodb.operation.CommitTransactionOperation$5.this$0:Lcom/mongodb/operation/CommitTransactionOperation;
getfield com.mongodb.operation.CommitTransactionOperation.recoveryToken:Lorg/bson/BsonDocument;
ifnull 6
5: aload 1
ldc "recoveryToken"
aload 0
getfield com.mongodb.operation.CommitTransactionOperation$5.this$0:Lcom/mongodb/operation/CommitTransactionOperation;
getfield com.mongodb.operation.CommitTransactionOperation.recoveryToken:Lorg/bson/BsonDocument;
invokevirtual org.bson.BsonDocument.put:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonValue;
pop
6: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/operation/CommitTransactionOperation$5;
0 7 1 command Lorg/bson/BsonDocument;
1 7 2 retryWriteConcern Lcom/mongodb/WriteConcern;
MethodParameters:
Name Flags
command final
public java.lang.Object apply(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.bson.BsonDocument
invokevirtual com.mongodb.operation.CommitTransactionOperation$5.apply:(Lorg/bson/BsonDocument;)Lorg/bson/BsonDocument;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/Function<Lorg/bson/BsonDocument;Lorg/bson/BsonDocument;>;
SourceFile: "CommitTransactionOperation.java"
EnclosingMethod: com.mongodb.operation.CommitTransactionOperation.getRetryCommandModifier:()Lcom/mongodb/Function;
NestHost: com.mongodb.operation.CommitTransactionOperation
InnerClasses:
com.mongodb.operation.CommitTransactionOperation$5