final class com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback implements com.mongodb.async.SingleResultCallback<java.lang.Void>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback
super_class: java.lang.Object
{
private final com.mongodb.async.SingleResultCallback<com.mongodb.WriteConcernResult> callback;
descriptor: Lcom/mongodb/async/SingleResultCallback;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/WriteConcernResult;>;
private final com.mongodb.internal.connection.RequestMessage message;
descriptor: Lcom/mongodb/internal/connection/RequestMessage;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bson.io.OutputBuffer writtenBuffer;
descriptor: Lorg/bson/io/OutputBuffer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.internal.connection.InternalConnection connection;
descriptor: Lcom/mongodb/internal/connection/InternalConnection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long startTimeNanos;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final com.mongodb.internal.connection.WriteProtocol this$0;
descriptor: Lcom/mongodb/internal/connection/WriteProtocol;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.async.SingleResultCallback<com.mongodb.WriteConcernResult>, com.mongodb.internal.connection.RequestMessage, org.bson.io.OutputBuffer, com.mongodb.internal.connection.InternalConnection, );
descriptor: (Lcom/mongodb/internal/connection/WriteProtocol;Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/internal/connection/RequestMessage;Lorg/bson/io/OutputBuffer;Lcom/mongodb/internal/connection/InternalConnection;J)V
flags: (0x0000)
Code:
stack=3, locals=8, args_size=7
start local 0 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
putfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.this$0:Lcom/mongodb/internal/connection/WriteProtocol;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
aload 2
putfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.callback:Lcom/mongodb/async/SingleResultCallback;
3: aload 0
aload 3
putfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.message:Lcom/mongodb/internal/connection/RequestMessage;
4: aload 0
aload 5
putfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.connection:Lcom/mongodb/internal/connection/InternalConnection;
5: aload 0
aload 4
putfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.writtenBuffer:Lorg/bson/io/OutputBuffer;
6: aload 0
lload 6
putfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.startTimeNanos:J
7: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/internal/connection/WriteProtocol$UnacknowledgedWriteResultCallback;
0 8 2 callback Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/WriteConcernResult;>;
0 8 3 message Lcom/mongodb/internal/connection/RequestMessage;
0 8 4 writtenBuffer Lorg/bson/io/OutputBuffer;
0 8 5 connection Lcom/mongodb/internal/connection/InternalConnection;
0 8 6 startTimeNanos J
Signature: (Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/WriteConcernResult;>;Lcom/mongodb/internal/connection/RequestMessage;Lorg/bson/io/OutputBuffer;Lcom/mongodb/internal/connection/InternalConnection;J)V
MethodParameters:
Name Flags
this$0 final
callback final
message final
writtenBuffer final
connection final
startTimeNanos final
public void onResult(java.lang.Void, java.lang.Throwable);
descriptor: (Ljava/lang/Void;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.writtenBuffer:Lorg/bson/io/OutputBuffer;
invokevirtual org.bson.io.OutputBuffer.close:()V
1: aload 2
ifnull 5
2: aload 0
getfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.this$0:Lcom/mongodb/internal/connection/WriteProtocol;
aload 0
getfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.connection:Lcom/mongodb/internal/connection/InternalConnection;
aload 0
getfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.message:Lcom/mongodb/internal/connection/RequestMessage;
iconst_1
aload 2
aload 0
getfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.startTimeNanos:J
invokevirtual com.mongodb.internal.connection.WriteProtocol.sendFailedEvent:(Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/internal/connection/RequestMessage;ZLjava/lang/Throwable;J)V
3: aload 0
getfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.callback:Lcom/mongodb/async/SingleResultCallback;
aconst_null
aload 2
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
4: goto 7
5: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.this$0:Lcom/mongodb/internal/connection/WriteProtocol;
aload 0
getfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.connection:Lcom/mongodb/internal/connection/InternalConnection;
aload 0
getfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.message:Lcom/mongodb/internal/connection/RequestMessage;
aload 0
getfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.startTimeNanos:J
invokevirtual com.mongodb.internal.connection.WriteProtocol.sendSucceededEvent:(Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/internal/connection/RequestMessage;J)V
6: aload 0
getfield com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.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
7: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/internal/connection/WriteProtocol$UnacknowledgedWriteResultCallback;
0 8 1 result Ljava/lang/Void;
0 8 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 java.lang.Void
aload 2
invokevirtual com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback.onResult:(Ljava/lang/Void;Ljava/lang/Throwable;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;
SourceFile: "WriteProtocol.java"
NestHost: com.mongodb.internal.connection.WriteProtocol
InnerClasses:
private final UnacknowledgedWriteResultCallback = com.mongodb.internal.connection.WriteProtocol$UnacknowledgedWriteResultCallback of com.mongodb.internal.connection.WriteProtocol