class com.mongodb.operation.CurrentOpOperation$1 implements com.mongodb.operation.OperationHelper$CallableWithConnection<org.bson.BsonDocument>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.operation.CurrentOpOperation$1
super_class: java.lang.Object
{
final com.mongodb.operation.CurrentOpOperation this$0;
descriptor: Lcom/mongodb/operation/CurrentOpOperation;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.binding.ReadBinding val$binding;
descriptor: Lcom/mongodb/binding/ReadBinding;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.operation.CurrentOpOperation, com.mongodb.binding.ReadBinding);
descriptor: (Lcom/mongodb/operation/CurrentOpOperation;Lcom/mongodb/binding/ReadBinding;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield com.mongodb.operation.CurrentOpOperation$1.this$0:Lcom/mongodb/operation/CurrentOpOperation;
aload 0
aload 2
putfield com.mongodb.operation.CurrentOpOperation$1.val$binding:Lcom/mongodb/binding/ReadBinding;
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/CurrentOpOperation$1;
MethodParameters:
Name Flags
this$0 final
val$binding final
public org.bson.BsonDocument call(com.mongodb.connection.Connection);
descriptor: (Lcom/mongodb/connection/Connection;)Lorg/bson/BsonDocument;
flags: (0x0001) ACC_PUBLIC
Code:
stack=15, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.mongodb.connection.Connection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
invokestatic com.mongodb.internal.operation.ServerVersionHelper.serverIsAtLeastVersionThreeDotTwo:(Lcom/mongodb/connection/ConnectionDescription;)Z
ifeq 2
1: aload 0
getfield com.mongodb.operation.CurrentOpOperation$1.val$binding:Lcom/mongodb/binding/ReadBinding;
ldc "admin"
aload 0
getfield com.mongodb.operation.CurrentOpOperation$1.this$0:Lcom/mongodb/operation/CurrentOpOperation;
invokevirtual com.mongodb.operation.CurrentOpOperation.getCommandCreator:()Lcom/mongodb/operation/CommandOperationHelper$CommandCreator;
iconst_1
invokestatic com.mongodb.operation.CommandOperationHelper.executeCommand:(Lcom/mongodb/binding/ReadBinding;Ljava/lang/String;Lcom/mongodb/operation/CommandOperationHelper$CommandCreator;Z)Lorg/bson/BsonDocument;
areturn
2: StackMap locals:
StackMap stack:
aload 1
new com.mongodb.MongoNamespace
dup
ldc "admin"
ldc "$cmd.sys.inprog"
invokespecial com.mongodb.MongoNamespace.<init>:(Ljava/lang/String;Ljava/lang/String;)V
new org.bson.BsonDocument
dup
invokespecial org.bson.BsonDocument.<init>:()V
aconst_null
iconst_0
iconst_1
iconst_0
3: aload 0
getfield com.mongodb.operation.CurrentOpOperation$1.val$binding:Lcom/mongodb/binding/ReadBinding;
invokeinterface com.mongodb.binding.ReadBinding.getReadPreference:()Lcom/mongodb/ReadPreference;
invokevirtual com.mongodb.ReadPreference.isSlaveOk:()Z
iconst_0
iconst_0
iconst_0
iconst_0
iconst_0
4: new org.bson.codecs.BsonDocumentCodec
dup
invokespecial org.bson.codecs.BsonDocumentCodec.<init>:()V
5: invokeinterface com.mongodb.connection.Connection.query:(Lcom/mongodb/MongoNamespace;Lorg/bson/BsonDocument;Lorg/bson/BsonDocument;IIIZZZZZZLorg/bson/codecs/Decoder;)Lcom/mongodb/connection/QueryResult;
6: invokevirtual com.mongodb.connection.QueryResult.getResults:()Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.bson.BsonDocument
7: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/operation/CurrentOpOperation$1;
0 8 1 connection Lcom/mongodb/connection/Connection;
MethodParameters:
Name Flags
connection final
public java.lang.Object call(com.mongodb.connection.Connection);
descriptor: (Lcom/mongodb/connection/Connection;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual com.mongodb.operation.CurrentOpOperation$1.call:(Lcom/mongodb/connection/Connection;)Lorg/bson/BsonDocument;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/operation/OperationHelper$CallableWithConnection<Lorg/bson/BsonDocument;>;
SourceFile: "CurrentOpOperation.java"
EnclosingMethod: com.mongodb.operation.CurrentOpOperation.execute:(Lcom/mongodb/binding/ReadBinding;)Lorg/bson/BsonDocument;
NestHost: com.mongodb.operation.CurrentOpOperation
InnerClasses:
abstract CommandCreator = com.mongodb.operation.CommandOperationHelper$CommandCreator of com.mongodb.operation.CommandOperationHelper
com.mongodb.operation.CurrentOpOperation$1
abstract CallableWithConnection = com.mongodb.operation.OperationHelper$CallableWithConnection of com.mongodb.operation.OperationHelper