class com.mongodb.internal.connection.DefaultServer$1 implements com.mongodb.async.SingleResultCallback<com.mongodb.internal.connection.InternalConnection>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.DefaultServer$1
super_class: java.lang.Object
{
final com.mongodb.internal.connection.DefaultServer this$0;
descriptor: Lcom/mongodb/internal/connection/DefaultServer;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.async.SingleResultCallback val$callback;
descriptor: Lcom/mongodb/async/SingleResultCallback;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.internal.connection.DefaultServer, com.mongodb.async.SingleResultCallback);
descriptor: (Lcom/mongodb/internal/connection/DefaultServer;Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield com.mongodb.internal.connection.DefaultServer$1.this$0:Lcom/mongodb/internal/connection/DefaultServer;
aload 0
aload 2
putfield com.mongodb.internal.connection.DefaultServer$1.val$callback:Lcom/mongodb/async/SingleResultCallback;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/DefaultServer$1;
MethodParameters:
Name Flags
this$0 final
val$callback final
public void onResult(com.mongodb.internal.connection.InternalConnection, java.lang.Throwable);
descriptor: (Lcom/mongodb/internal/connection/InternalConnection;Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof com.mongodb.MongoSecurityException
ifeq 3
1: aload 0
getfield com.mongodb.internal.connection.DefaultServer$1.this$0:Lcom/mongodb/internal/connection/DefaultServer;
getfield com.mongodb.internal.connection.DefaultServer.connectionPool:Lcom/mongodb/internal/connection/ConnectionPool;
invokeinterface com.mongodb.internal.connection.ConnectionPool.invalidate:()V
2: goto 5
StackMap locals:
StackMap stack:
3: aload 2
instanceof com.mongodb.MongoSocketException
ifeq 5
4: aload 0
getfield com.mongodb.internal.connection.DefaultServer$1.this$0:Lcom/mongodb/internal/connection/DefaultServer;
invokevirtual com.mongodb.internal.connection.DefaultServer.invalidate:()V
5: StackMap locals:
StackMap stack:
aload 2
ifnull 8
6: aload 0
getfield com.mongodb.internal.connection.DefaultServer$1.val$callback:Lcom/mongodb/async/SingleResultCallback;
aconst_null
aload 2
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
7: goto 11
8: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.DefaultServer$1.val$callback:Lcom/mongodb/async/SingleResultCallback;
aload 0
getfield com.mongodb.internal.connection.DefaultServer$1.this$0:Lcom/mongodb/internal/connection/DefaultServer;
getfield com.mongodb.internal.connection.DefaultServer.connectionFactory:Lcom/mongodb/internal/connection/ConnectionFactory;
aload 1
new com.mongodb.internal.connection.DefaultServer$DefaultServerProtocolExecutor
dup
aload 0
getfield com.mongodb.internal.connection.DefaultServer$1.this$0:Lcom/mongodb/internal/connection/DefaultServer;
invokespecial com.mongodb.internal.connection.DefaultServer$DefaultServerProtocolExecutor.<init>:(Lcom/mongodb/internal/connection/DefaultServer;)V
aload 0
getfield com.mongodb.internal.connection.DefaultServer$1.this$0:Lcom/mongodb/internal/connection/DefaultServer;
getfield com.mongodb.internal.connection.DefaultServer.clusterConnectionMode:Lcom/mongodb/connection/ClusterConnectionMode;
invokeinterface com.mongodb.internal.connection.ConnectionFactory.createAsync:(Lcom/mongodb/internal/connection/InternalConnection;Lcom/mongodb/internal/connection/ProtocolExecutor;Lcom/mongodb/connection/ClusterConnectionMode;)Lcom/mongodb/connection/AsyncConnection;
9: aconst_null
10: invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/mongodb/internal/connection/DefaultServer$1;
0 12 1 result Lcom/mongodb/internal/connection/InternalConnection;
0 12 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 com.mongodb.internal.connection.InternalConnection
aload 2
invokevirtual com.mongodb.internal.connection.DefaultServer$1.onResult:(Lcom/mongodb/internal/connection/InternalConnection;Ljava/lang/Throwable;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/internal/connection/InternalConnection;>;
SourceFile: "DefaultServer.java"
EnclosingMethod: com.mongodb.internal.connection.DefaultServer.getConnectionAsync:(Lcom/mongodb/async/SingleResultCallback;)V
NestHost: com.mongodb.internal.connection.DefaultServer
InnerClasses:
com.mongodb.internal.connection.DefaultServer$1
private DefaultServerProtocolExecutor = com.mongodb.internal.connection.DefaultServer$DefaultServerProtocolExecutor of com.mongodb.internal.connection.DefaultServer