class com.mongodb.internal.connection.DeleteProtocol extends com.mongodb.internal.connection.WriteProtocol
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.DeleteProtocol
super_class: com.mongodb.internal.connection.WriteProtocol
{
private static final com.mongodb.diagnostics.logging.Logger LOGGER;
descriptor: Lcom/mongodb/diagnostics/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final com.mongodb.bulk.DeleteRequest deleteRequest;
descriptor: Lcom/mongodb/bulk/DeleteRequest;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "protocol.delete"
invokestatic com.mongodb.diagnostics.logging.Loggers.getLogger:(Ljava/lang/String;)Lcom/mongodb/diagnostics/logging/Logger;
putstatic com.mongodb.internal.connection.DeleteProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.mongodb.MongoNamespace, boolean, com.mongodb.bulk.DeleteRequest);
descriptor: (Lcom/mongodb/MongoNamespace;ZLcom/mongodb/bulk/DeleteRequest;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
invokespecial com.mongodb.internal.connection.WriteProtocol.<init>:(Lcom/mongodb/MongoNamespace;Z)V
1: aload 0
aload 3
putfield com.mongodb.internal.connection.DeleteProtocol.deleteRequest:Lcom/mongodb/bulk/DeleteRequest;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/internal/connection/DeleteProtocol;
0 3 1 namespace Lcom/mongodb/MongoNamespace;
0 3 2 ordered Z
0 3 3 deleteRequest Lcom/mongodb/bulk/DeleteRequest;
MethodParameters:
Name Flags
namespace final
ordered final
deleteRequest final
public com.mongodb.WriteConcernResult execute(com.mongodb.internal.connection.InternalConnection);
descriptor: (Lcom/mongodb/internal/connection/InternalConnection;)Lcom/mongodb/WriteConcernResult;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: getstatic com.mongodb.internal.connection.DeleteProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
invokeinterface com.mongodb.diagnostics.logging.Logger.isDebugEnabled:()Z
ifeq 4
1: getstatic com.mongodb.internal.connection.DeleteProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Deleting documents from namespace %s on connection [%s] to server %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual com.mongodb.internal.connection.DeleteProtocol.getNamespace:()Lcom/mongodb/MongoNamespace;
aastore
dup
iconst_1
2: aload 1
invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
invokevirtual com.mongodb.connection.ConnectionDescription.getConnectionId:()Lcom/mongodb/connection/ConnectionId;
aastore
dup
iconst_2
aload 1
invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
invokevirtual com.mongodb.connection.ConnectionDescription.getServerAddress:()Lcom/mongodb/ServerAddress;
aastore
3: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial com.mongodb.internal.connection.WriteProtocol.execute:(Lcom/mongodb/internal/connection/InternalConnection;)Lcom/mongodb/WriteConcernResult;
astore 2
start local 2 5: getstatic com.mongodb.internal.connection.DeleteProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Delete completed"
invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;)V
6: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/internal/connection/DeleteProtocol;
0 7 1 connection Lcom/mongodb/internal/connection/InternalConnection;
5 7 2 writeConcernResult Lcom/mongodb/WriteConcernResult;
MethodParameters:
Name Flags
connection final
public void executeAsync(com.mongodb.internal.connection.InternalConnection, com.mongodb.async.SingleResultCallback<com.mongodb.WriteConcernResult>);
descriptor: (Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.mongodb.internal.connection.DeleteProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
invokeinterface com.mongodb.diagnostics.logging.Logger.isDebugEnabled:()Z
ifeq 4
1: getstatic com.mongodb.internal.connection.DeleteProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Asynchronously deleting documents in namespace %s on connection [%s] to server %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual com.mongodb.internal.connection.DeleteProtocol.getNamespace:()Lcom/mongodb/MongoNamespace;
aastore
dup
iconst_1
2: aload 1
invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
invokevirtual com.mongodb.connection.ConnectionDescription.getConnectionId:()Lcom/mongodb/connection/ConnectionId;
aastore
dup
iconst_2
aload 1
invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
invokevirtual com.mongodb.connection.ConnectionDescription.getServerAddress:()Lcom/mongodb/ServerAddress;
aastore
3: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface com.mongodb.diagnostics.logging.Logger.debug:(Ljava/lang/String;)V
4: StackMap locals:
StackMap stack:
aload 0
aload 1
new com.mongodb.internal.connection.DeleteProtocol$1
dup
aload 0
aload 2
invokespecial com.mongodb.internal.connection.DeleteProtocol$1.<init>:(Lcom/mongodb/internal/connection/DeleteProtocol;Lcom/mongodb/async/SingleResultCallback;)V
invokespecial com.mongodb.internal.connection.WriteProtocol.executeAsync:(Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/async/SingleResultCallback;)V
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: astore 3
start local 3 7: aload 2
aconst_null
aload 3
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 3 8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/mongodb/internal/connection/DeleteProtocol;
0 9 1 connection Lcom/mongodb/internal/connection/InternalConnection;
0 9 2 callback Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/WriteConcernResult;>;
7 8 3 t Ljava/lang/Throwable;
Exception table:
from to target type
0 5 6 Class java.lang.Throwable
Signature: (Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/WriteConcernResult;>;)V
MethodParameters:
Name Flags
connection final
callback final
protected org.bson.BsonDocument getAsWriteCommand(com.mongodb.connection.ByteBufferBsonOutput, int);
descriptor: (Lcom/mongodb/connection/ByteBufferBsonOutput;I)Lorg/bson/BsonDocument;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.bson.BsonDocument
dup
ldc "q"
aload 1
iload 2
invokestatic com.mongodb.internal.connection.ByteBufBsonDocument.createOne:(Lcom/mongodb/connection/ByteBufferBsonOutput;I)Lcom/mongodb/internal/connection/ByteBufBsonDocument;
invokespecial org.bson.BsonDocument.<init>:(Ljava/lang/String;Lorg/bson/BsonValue;)V
1: ldc "limit"
aload 0
getfield com.mongodb.internal.connection.DeleteProtocol.deleteRequest:Lcom/mongodb/bulk/DeleteRequest;
invokevirtual com.mongodb.bulk.DeleteRequest.isMulti:()Z
ifeq 2
new org.bson.BsonInt32
dup
iconst_0
invokespecial org.bson.BsonInt32.<init>:(I)V
goto 3
StackMap locals: com.mongodb.internal.connection.DeleteProtocol com.mongodb.connection.ByteBufferBsonOutput int
StackMap stack: org.bson.BsonDocument java.lang.String
2: new org.bson.BsonInt32
dup
iconst_1
invokespecial org.bson.BsonInt32.<init>:(I)V
StackMap locals: com.mongodb.internal.connection.DeleteProtocol com.mongodb.connection.ByteBufferBsonOutput int
StackMap stack: org.bson.BsonDocument java.lang.String org.bson.BsonInt32
3: invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
4: astore 3
start local 3 5: aload 0
ldc "delete"
invokevirtual com.mongodb.internal.connection.DeleteProtocol.getBaseCommandDocument:(Ljava/lang/String;)Lorg/bson/BsonDocument;
ldc "deletes"
new org.bson.BsonArray
dup
aload 3
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
invokespecial org.bson.BsonArray.<init>:(Ljava/util/List;)V
invokevirtual org.bson.BsonDocument.append:(Ljava/lang/String;Lorg/bson/BsonValue;)Lorg/bson/BsonDocument;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/internal/connection/DeleteProtocol;
0 6 1 bsonOutput Lcom/mongodb/connection/ByteBufferBsonOutput;
0 6 2 firstDocumentPosition I
5 6 3 deleteDocument Lorg/bson/BsonDocument;
MethodParameters:
Name Flags
bsonOutput final
firstDocumentPosition final
protected com.mongodb.internal.connection.RequestMessage createRequestMessage(com.mongodb.internal.connection.MessageSettings);
descriptor: (Lcom/mongodb/internal/connection/MessageSettings;)Lcom/mongodb/internal/connection/RequestMessage;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new com.mongodb.internal.connection.DeleteMessage
dup
aload 0
invokevirtual com.mongodb.internal.connection.DeleteProtocol.getNamespace:()Lcom/mongodb/MongoNamespace;
invokevirtual com.mongodb.MongoNamespace.getFullName:()Ljava/lang/String;
aload 0
getfield com.mongodb.internal.connection.DeleteProtocol.deleteRequest:Lcom/mongodb/bulk/DeleteRequest;
aload 1
invokespecial com.mongodb.internal.connection.DeleteMessage.<init>:(Ljava/lang/String;Lcom/mongodb/bulk/DeleteRequest;Lcom/mongodb/internal/connection/MessageSettings;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/DeleteProtocol;
0 1 1 settings Lcom/mongodb/internal/connection/MessageSettings;
MethodParameters:
Name Flags
settings final
protected com.mongodb.diagnostics.logging.Logger getLogger();
descriptor: ()Lcom/mongodb/diagnostics/logging/Logger;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.mongodb.internal.connection.DeleteProtocol.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/DeleteProtocol;
}
SourceFile: "DeleteProtocol.java"
NestMembers:
com.mongodb.internal.connection.DeleteProtocol$1
InnerClasses:
com.mongodb.internal.connection.DeleteProtocol$1