class com.mongodb.internal.connection.DefaultConnectionPool$2 implements com.mongodb.async.SingleResultCallback<java.lang.Void>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.DefaultConnectionPool$2
super_class: java.lang.Object
{
final com.mongodb.internal.connection.DefaultConnectionPool this$0;
descriptor: Lcom/mongodb/internal/connection/DefaultConnectionPool;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection val$pooledConnection;
descriptor: Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
flags: (0x1012) ACC_PRIVATE, 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.DefaultConnectionPool, com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection, com.mongodb.async.SingleResultCallback);
descriptor: (Lcom/mongodb/internal/connection/DefaultConnectionPool;Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield com.mongodb.internal.connection.DefaultConnectionPool$2.this$0:Lcom/mongodb/internal/connection/DefaultConnectionPool;
aload 0
aload 2
putfield com.mongodb.internal.connection.DefaultConnectionPool$2.val$pooledConnection:Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
aload 0
aload 3
putfield com.mongodb.internal.connection.DefaultConnectionPool$2.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/DefaultConnectionPool$2;
MethodParameters:
Name Flags
this$0 final
val$pooledConnection final
val$callback final
public void onResult(java.lang.Void, java.lang.Throwable);
descriptor: (Ljava/lang/Void;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
ifnull 8
1: getstatic com.mongodb.internal.connection.DefaultConnectionPool.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
invokeinterface com.mongodb.diagnostics.logging.Logger.isTraceEnabled:()Z
ifeq 5
2: getstatic com.mongodb.internal.connection.DefaultConnectionPool.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Pooled connection %s to server %s failed to open"
iconst_2
anewarray java.lang.Object
dup
iconst_0
3: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$2.val$pooledConnection:Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
invokevirtual com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
invokevirtual com.mongodb.connection.ConnectionDescription.getConnectionId:()Lcom/mongodb/connection/ConnectionId;
aastore
dup
iconst_1
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$2.this$0:Lcom/mongodb/internal/connection/DefaultConnectionPool;
getfield com.mongodb.internal.connection.DefaultConnectionPool.serverId:Lcom/mongodb/connection/ServerId;
aastore
4: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface com.mongodb.diagnostics.logging.Logger.trace:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$2.val$callback:Lcom/mongodb/async/SingleResultCallback;
aconst_null
aload 2
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
6: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$2.this$0:Lcom/mongodb/internal/connection/DefaultConnectionPool;
getfield com.mongodb.internal.connection.DefaultConnectionPool.pool:Lcom/mongodb/internal/connection/ConcurrentPool;
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$2.val$pooledConnection:Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
iconst_1
invokevirtual com.mongodb.internal.connection.ConcurrentPool.release:(Ljava/lang/Object;Z)V
7: goto 13
8: StackMap locals:
StackMap stack:
getstatic com.mongodb.internal.connection.DefaultConnectionPool.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
invokeinterface com.mongodb.diagnostics.logging.Logger.isTraceEnabled:()Z
ifeq 12
9: getstatic com.mongodb.internal.connection.DefaultConnectionPool.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Pooled connection %s to server %s is now open"
iconst_2
anewarray java.lang.Object
dup
iconst_0
10: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$2.val$pooledConnection:Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
invokevirtual com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
invokevirtual com.mongodb.connection.ConnectionDescription.getConnectionId:()Lcom/mongodb/connection/ConnectionId;
aastore
dup
iconst_1
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$2.this$0:Lcom/mongodb/internal/connection/DefaultConnectionPool;
getfield com.mongodb.internal.connection.DefaultConnectionPool.serverId:Lcom/mongodb/connection/ServerId;
aastore
11: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokeinterface com.mongodb.diagnostics.logging.Logger.trace:(Ljava/lang/String;)V
12: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$2.val$callback:Lcom/mongodb/async/SingleResultCallback;
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$2.val$pooledConnection:Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
aconst_null
invokeinterface com.mongodb.async.SingleResultCallback.onResult:(Ljava/lang/Object;Ljava/lang/Throwable;)V
13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/mongodb/internal/connection/DefaultConnectionPool$2;
0 14 1 result Ljava/lang/Void;
0 14 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.DefaultConnectionPool$2.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: "DefaultConnectionPool.java"
EnclosingMethod: com.mongodb.internal.connection.DefaultConnectionPool.openAsync:(Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;Lcom/mongodb/async/SingleResultCallback;)V
NestHost: com.mongodb.internal.connection.DefaultConnectionPool
InnerClasses:
com.mongodb.internal.connection.DefaultConnectionPool$2
private PooledConnection = com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection of com.mongodb.internal.connection.DefaultConnectionPool