abstract class com.mongodb.internal.connection.ResponseCallback implements com.mongodb.async.SingleResultCallback<com.mongodb.internal.connection.ResponseBuffers>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.mongodb.internal.connection.ResponseCallback
super_class: java.lang.Object
{
private volatile boolean closed;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final com.mongodb.ServerAddress serverAddress;
descriptor: Lcom/mongodb/ServerAddress;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final long requestId;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(long, com.mongodb.ServerAddress);
descriptor: (JLcom/mongodb/ServerAddress;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 3
putfield com.mongodb.internal.connection.ResponseCallback.serverAddress:Lcom/mongodb/ServerAddress;
2: aload 0
lload 1
putfield com.mongodb.internal.connection.ResponseCallback.requestId:J
3: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/internal/connection/ResponseCallback;
0 4 1 requestId J
0 4 3 serverAddress Lcom/mongodb/ServerAddress;
MethodParameters:
Name Flags
requestId final
serverAddress final
protected com.mongodb.ServerAddress getServerAddress();
descriptor: ()Lcom/mongodb/ServerAddress;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.ResponseCallback.serverAddress:Lcom/mongodb/ServerAddress;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/ResponseCallback;
protected long getRequestId();
descriptor: ()J
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.ResponseCallback.requestId:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/ResponseCallback;
public void onResult(com.mongodb.internal.connection.ResponseBuffers, java.lang.Throwable);
descriptor: (Lcom/mongodb/internal/connection/ResponseBuffers;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.mongodb.internal.connection.ResponseCallback.closed:Z
ifeq 2
1: new com.mongodb.MongoInternalException
dup
ldc "Callback should not be invoked more than once"
invokespecial com.mongodb.MongoInternalException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.mongodb.internal.connection.ResponseCallback.closed:Z
3: aload 1
ifnull 6
4: aload 0
aload 1
aload 2
invokevirtual com.mongodb.internal.connection.ResponseCallback.callCallback:(Lcom/mongodb/internal/connection/ResponseBuffers;Ljava/lang/Throwable;)V
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
aconst_null
aload 2
invokevirtual com.mongodb.internal.connection.ResponseCallback.callCallback:(Lcom/mongodb/internal/connection/ResponseBuffers;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/ResponseCallback;
0 8 1 responseBuffers Lcom/mongodb/internal/connection/ResponseBuffers;
0 8 2 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
responseBuffers final
t final
protected abstract void callCallback(com.mongodb.internal.connection.ResponseBuffers, java.lang.Throwable);
descriptor: (Lcom/mongodb/internal/connection/ResponseBuffers;Ljava/lang/Throwable;)V
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
responseBuffers
t
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 com.mongodb.internal.connection.ResponseBuffers
aload 2
invokevirtual com.mongodb.internal.connection.ResponseCallback.onResult:(Lcom/mongodb/internal/connection/ResponseBuffers;Ljava/lang/Throwable;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/internal/connection/ResponseBuffers;>;
SourceFile: "ResponseCallback.java"