class com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection implements com.mongodb.internal.connection.InternalConnection
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection
super_class: java.lang.Object
{
private final com.mongodb.internal.connection.UsageTrackingInternalConnection wrapped;
descriptor: Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicBoolean isClosed;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final com.mongodb.internal.connection.DefaultConnectionPool this$0;
descriptor: Lcom/mongodb/internal/connection/DefaultConnectionPool;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.mongodb.internal.connection.DefaultConnectionPool, com.mongodb.internal.connection.UsageTrackingInternalConnection);
descriptor: (Lcom/mongodb/internal/connection/DefaultConnectionPool;Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.this$0:Lcom/mongodb/internal/connection/DefaultConnectionPool;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
2: aload 0
ldc "wrapped"
aload 2
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.internal.connection.UsageTrackingInternalConnection
putfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
3: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
0 4 2 wrapped Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
MethodParameters:
Name Flags
this$0 final
wrapped final
public void open();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "open"
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: java.lang.String
1: iconst_1
StackMap locals: com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection
StackMap stack: java.lang.String int
2: invokestatic com.mongodb.assertions.Assertions.isTrue:(Ljava/lang/String;Z)V
3: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
invokevirtual com.mongodb.internal.connection.UsageTrackingInternalConnection.open:()V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
public void openAsync(com.mongodb.async.SingleResultCallback<java.lang.Void>);
descriptor: (Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "open"
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: java.lang.String
1: iconst_1
StackMap locals: com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection com.mongodb.async.SingleResultCallback
StackMap stack: java.lang.String int
2: invokestatic com.mongodb.assertions.Assertions.isTrue:(Ljava/lang/String;Z)V
3: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
aload 1
invokevirtual com.mongodb.internal.connection.UsageTrackingInternalConnection.openAsync:(Lcom/mongodb/async/SingleResultCallback;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
0 5 1 callback Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;
Signature: (Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
callback final
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.getAndSet:(Z)Z
ifne 7
1: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.this$0:Lcom/mongodb/internal/connection/DefaultConnectionPool;
getfield com.mongodb.internal.connection.DefaultConnectionPool.connectionPoolListener:Lcom/mongodb/event/ConnectionPoolListener;
new com.mongodb.event.ConnectionCheckedInEvent
dup
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.this$0:Lcom/mongodb/internal/connection/DefaultConnectionPool;
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
invokevirtual com.mongodb.internal.connection.DefaultConnectionPool.getId:(Lcom/mongodb/internal/connection/InternalConnection;)Lcom/mongodb/connection/ConnectionId;
invokespecial com.mongodb.event.ConnectionCheckedInEvent.<init>:(Lcom/mongodb/connection/ConnectionId;)V
invokeinterface com.mongodb.event.ConnectionPoolListener.connectionCheckedIn:(Lcom/mongodb/event/ConnectionCheckedInEvent;)V
2: getstatic com.mongodb.internal.connection.DefaultConnectionPool.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
invokeinterface com.mongodb.diagnostics.logging.Logger.isTraceEnabled:()Z
ifeq 4
3: getstatic com.mongodb.internal.connection.DefaultConnectionPool.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
ldc "Checked in connection [%s] to server %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.this$0:Lcom/mongodb/internal/connection/DefaultConnectionPool;
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
invokevirtual com.mongodb.internal.connection.DefaultConnectionPool.getId:(Lcom/mongodb/internal/connection/InternalConnection;)Lcom/mongodb/connection/ConnectionId;
aastore
dup
iconst_1
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.this$0:Lcom/mongodb/internal/connection/DefaultConnectionPool;
getfield com.mongodb.internal.connection.DefaultConnectionPool.serverId:Lcom/mongodb/connection/ServerId;
invokevirtual com.mongodb.connection.ServerId.getAddress:()Lcom/mongodb/ServerAddress;
aastore
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
4: StackMap locals:
StackMap stack:
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.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$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
invokevirtual com.mongodb.internal.connection.UsageTrackingInternalConnection.isClosed:()Z
ifne 5
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.this$0:Lcom/mongodb/internal/connection/DefaultConnectionPool;
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
invokevirtual com.mongodb.internal.connection.DefaultConnectionPool.shouldPrune:(Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;)Z
ifne 5
iconst_0
goto 6
StackMap locals: com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection
StackMap stack: com.mongodb.internal.connection.ConcurrentPool com.mongodb.internal.connection.UsageTrackingInternalConnection
5: iconst_1
StackMap locals: com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection
StackMap stack: com.mongodb.internal.connection.ConcurrentPool com.mongodb.internal.connection.UsageTrackingInternalConnection int
6: invokevirtual com.mongodb.internal.connection.ConcurrentPool.release:(Ljava/lang/Object;Z)V
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
public boolean opened();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "open"
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: java.lang.String
1: iconst_1
StackMap locals: com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection
StackMap stack: java.lang.String int
2: invokestatic com.mongodb.assertions.Assertions.isTrue:(Ljava/lang/String;Z)V
3: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
invokevirtual com.mongodb.internal.connection.UsageTrackingInternalConnection.opened:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
public boolean isClosed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 1
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
invokevirtual com.mongodb.internal.connection.UsageTrackingInternalConnection.isClosed:()Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
public org.bson.ByteBuf getBuffer(int);
descriptor: (I)Lorg/bson/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
iload 1
invokevirtual com.mongodb.internal.connection.UsageTrackingInternalConnection.getBuffer:(I)Lorg/bson/ByteBuf;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
0 1 1 capacity I
MethodParameters:
Name Flags
capacity final
public void sendMessage(java.util.List<org.bson.ByteBuf>, );
descriptor: (Ljava/util/List;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: ldc "open"
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: java.lang.String
1: iconst_1
StackMap locals: com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection java.util.List int
StackMap stack: java.lang.String int
2: invokestatic com.mongodb.assertions.Assertions.isTrue:(Ljava/lang/String;Z)V
3: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
aload 1
iload 2
invokevirtual com.mongodb.internal.connection.UsageTrackingInternalConnection.sendMessage:(Ljava/util/List;I)V
4: goto 8
StackMap locals:
StackMap stack: com.mongodb.MongoException
5: astore 3
start local 3 6: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.this$0:Lcom/mongodb/internal/connection/DefaultConnectionPool;
aload 0
aload 3
invokevirtual com.mongodb.internal.connection.DefaultConnectionPool.incrementGenerationOnSocketException:(Lcom/mongodb/internal/connection/InternalConnection;Ljava/lang/Throwable;)V
7: aload 3
athrow
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/DefaultConnectionPool$PooledConnection;
0 9 1 byteBuffers Ljava/util/List<Lorg/bson/ByteBuf;>;
0 9 2 lastRequestId I
6 8 3 e Lcom/mongodb/MongoException;
Exception table:
from to target type
3 4 5 Class com.mongodb.MongoException
Signature: (Ljava/util/List<Lorg/bson/ByteBuf;>;I)V
MethodParameters:
Name Flags
byteBuffers final
lastRequestId final
public <T> T sendAndReceive(com.mongodb.internal.connection.CommandMessage, org.bson.codecs.Decoder<T>, com.mongodb.session.SessionContext);
descriptor: (Lcom/mongodb/internal/connection/CommandMessage;Lorg/bson/codecs/Decoder;Lcom/mongodb/session/SessionContext;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc "open"
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: java.lang.String
1: iconst_1
StackMap locals: com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection com.mongodb.internal.connection.CommandMessage org.bson.codecs.Decoder com.mongodb.session.SessionContext
StackMap stack: java.lang.String int
2: invokestatic com.mongodb.assertions.Assertions.isTrue:(Ljava/lang/String;Z)V
3: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
aload 1
aload 2
aload 3
invokevirtual com.mongodb.internal.connection.UsageTrackingInternalConnection.sendAndReceive:(Lcom/mongodb/internal/connection/CommandMessage;Lorg/bson/codecs/Decoder;Lcom/mongodb/session/SessionContext;)Ljava/lang/Object;
4: areturn
5: StackMap locals:
StackMap stack: com.mongodb.MongoException
astore 4
start local 4 6: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.this$0:Lcom/mongodb/internal/connection/DefaultConnectionPool;
aload 0
aload 4
invokevirtual com.mongodb.internal.connection.DefaultConnectionPool.incrementGenerationOnSocketException:(Lcom/mongodb/internal/connection/InternalConnection;Ljava/lang/Throwable;)V
7: aload 4
athrow
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
0 8 1 message Lcom/mongodb/internal/connection/CommandMessage;
0 8 2 decoder Lorg/bson/codecs/Decoder<TT;>;
0 8 3 sessionContext Lcom/mongodb/session/SessionContext;
6 8 4 e Lcom/mongodb/MongoException;
Exception table:
from to target type
3 4 5 Class com.mongodb.MongoException
Signature: <T:Ljava/lang/Object;>(Lcom/mongodb/internal/connection/CommandMessage;Lorg/bson/codecs/Decoder<TT;>;Lcom/mongodb/session/SessionContext;)TT;
MethodParameters:
Name Flags
message final
decoder final
sessionContext final
public <T> void sendAndReceiveAsync(com.mongodb.internal.connection.CommandMessage, org.bson.codecs.Decoder<T>, com.mongodb.session.SessionContext, com.mongodb.async.SingleResultCallback<T>);
descriptor: (Lcom/mongodb/internal/connection/CommandMessage;Lorg/bson/codecs/Decoder;Lcom/mongodb/session/SessionContext;Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: ldc "open"
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: java.lang.String
1: iconst_1
StackMap locals: com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection com.mongodb.internal.connection.CommandMessage org.bson.codecs.Decoder com.mongodb.session.SessionContext com.mongodb.async.SingleResultCallback
StackMap stack: java.lang.String int
2: invokestatic com.mongodb.assertions.Assertions.isTrue:(Ljava/lang/String;Z)V
3: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
aload 1
aload 2
aload 3
new com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection$1
dup
aload 0
aload 4
invokespecial com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection$1.<init>:(Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;Lcom/mongodb/async/SingleResultCallback;)V
invokevirtual com.mongodb.internal.connection.UsageTrackingInternalConnection.sendAndReceiveAsync:(Lcom/mongodb/internal/connection/CommandMessage;Lorg/bson/codecs/Decoder;Lcom/mongodb/session/SessionContext;Lcom/mongodb/async/SingleResultCallback;)V
4: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
0 5 1 message Lcom/mongodb/internal/connection/CommandMessage;
0 5 2 decoder Lorg/bson/codecs/Decoder<TT;>;
0 5 3 sessionContext Lcom/mongodb/session/SessionContext;
0 5 4 callback Lcom/mongodb/async/SingleResultCallback<TT;>;
Signature: <T:Ljava/lang/Object;>(Lcom/mongodb/internal/connection/CommandMessage;Lorg/bson/codecs/Decoder<TT;>;Lcom/mongodb/session/SessionContext;Lcom/mongodb/async/SingleResultCallback<TT;>;)V
MethodParameters:
Name Flags
message final
decoder final
sessionContext final
callback final
public com.mongodb.internal.connection.ResponseBuffers receiveMessage(int);
descriptor: (I)Lcom/mongodb/internal/connection/ResponseBuffers;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: ldc "open"
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: java.lang.String
1: iconst_1
StackMap locals: com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection int
StackMap stack: java.lang.String int
2: invokestatic com.mongodb.assertions.Assertions.isTrue:(Ljava/lang/String;Z)V
3: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
iload 1
invokevirtual com.mongodb.internal.connection.UsageTrackingInternalConnection.receiveMessage:(I)Lcom/mongodb/internal/connection/ResponseBuffers;
4: areturn
5: StackMap locals:
StackMap stack: com.mongodb.MongoException
astore 2
start local 2 6: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.this$0:Lcom/mongodb/internal/connection/DefaultConnectionPool;
aload 0
aload 2
invokevirtual com.mongodb.internal.connection.DefaultConnectionPool.incrementGenerationOnSocketException:(Lcom/mongodb/internal/connection/InternalConnection;Ljava/lang/Throwable;)V
7: aload 2
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
0 8 1 responseTo I
6 8 2 e Lcom/mongodb/MongoException;
Exception table:
from to target type
3 4 5 Class com.mongodb.MongoException
MethodParameters:
Name Flags
responseTo final
public void sendMessageAsync(java.util.List<org.bson.ByteBuf>, int, com.mongodb.async.SingleResultCallback<java.lang.Void>);
descriptor: (Ljava/util/List;ILcom/mongodb/async/SingleResultCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc "open"
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: java.lang.String
1: iconst_1
StackMap locals: com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection java.util.List int com.mongodb.async.SingleResultCallback
StackMap stack: java.lang.String int
2: invokestatic com.mongodb.assertions.Assertions.isTrue:(Ljava/lang/String;Z)V
3: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
aload 1
iload 2
new com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection$2
dup
aload 0
aload 3
invokespecial com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection$2.<init>:(Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;Lcom/mongodb/async/SingleResultCallback;)V
invokevirtual com.mongodb.internal.connection.UsageTrackingInternalConnection.sendMessageAsync:(Ljava/util/List;ILcom/mongodb/async/SingleResultCallback;)V
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
0 5 1 byteBuffers Ljava/util/List<Lorg/bson/ByteBuf;>;
0 5 2 lastRequestId I
0 5 3 callback Lcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;
Signature: (Ljava/util/List<Lorg/bson/ByteBuf;>;ILcom/mongodb/async/SingleResultCallback<Ljava/lang/Void;>;)V
MethodParameters:
Name Flags
byteBuffers final
lastRequestId final
callback final
public void receiveMessageAsync(int, com.mongodb.async.SingleResultCallback<com.mongodb.internal.connection.ResponseBuffers>);
descriptor: (ILcom/mongodb/async/SingleResultCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: ldc "open"
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: java.lang.String
1: iconst_1
StackMap locals: com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection int com.mongodb.async.SingleResultCallback
StackMap stack: java.lang.String int
2: invokestatic com.mongodb.assertions.Assertions.isTrue:(Ljava/lang/String;Z)V
3: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
iload 1
new com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection$3
dup
aload 0
aload 2
invokespecial com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection$3.<init>:(Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;Lcom/mongodb/async/SingleResultCallback;)V
invokevirtual com.mongodb.internal.connection.UsageTrackingInternalConnection.receiveMessageAsync:(ILcom/mongodb/async/SingleResultCallback;)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
0 5 1 responseTo I
0 5 2 callback Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/internal/connection/ResponseBuffers;>;
Signature: (ILcom/mongodb/async/SingleResultCallback<Lcom/mongodb/internal/connection/ResponseBuffers;>;)V
MethodParameters:
Name Flags
responseTo final
callback final
public com.mongodb.connection.ConnectionDescription getDescription();
descriptor: ()Lcom/mongodb/connection/ConnectionDescription;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "open"
aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.isClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack: java.lang.String
1: iconst_1
StackMap locals: com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection
StackMap stack: java.lang.String int
2: invokestatic com.mongodb.assertions.Assertions.isTrue:(Ljava/lang/String;Z)V
3: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.wrapped:Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
invokevirtual com.mongodb.internal.connection.UsageTrackingInternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;
static com.mongodb.internal.connection.DefaultConnectionPool access$0(com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection);
descriptor: (Lcom/mongodb/internal/connection/DefaultConnectionPool$PooledConnection;)Lcom/mongodb/internal/connection/DefaultConnectionPool;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.this$0:Lcom/mongodb/internal/connection/DefaultConnectionPool;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "DefaultConnectionPool.java"
NestHost: com.mongodb.internal.connection.DefaultConnectionPool
InnerClasses:
private PooledConnection = com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection of com.mongodb.internal.connection.DefaultConnectionPool
com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection$1
com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection$2
com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection$3