class com.mongodb.internal.connection.UsageTrackingInternalConnection implements com.mongodb.internal.connection.InternalConnection
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.mongodb.internal.connection.UsageTrackingInternalConnection
super_class: java.lang.Object
{
private static final com.mongodb.diagnostics.logging.Logger LOGGER;
descriptor: Lcom/mongodb/diagnostics/logging/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private volatile long openedAt;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile long lastUsedAt;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final int generation;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.internal.connection.InternalConnection wrapped;
descriptor: Lcom/mongodb/internal/connection/InternalConnection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "connection"
invokestatic com.mongodb.diagnostics.logging.Loggers.getLogger:(Ljava/lang/String;)Lcom/mongodb/diagnostics/logging/Logger;
putstatic com.mongodb.internal.connection.UsageTrackingInternalConnection.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(com.mongodb.internal.connection.InternalConnection, int);
descriptor: (Lcom/mongodb/internal/connection/InternalConnection;I)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.mongodb.internal.connection.UsageTrackingInternalConnection.wrapped:Lcom/mongodb/internal/connection/InternalConnection;
2: aload 0
iload 2
putfield com.mongodb.internal.connection.UsageTrackingInternalConnection.generation:I
3: aload 0
ldc 9223372036854775807
putfield com.mongodb.internal.connection.UsageTrackingInternalConnection.openedAt:J
4: aload 0
aload 0
getfield com.mongodb.internal.connection.UsageTrackingInternalConnection.openedAt:J
putfield com.mongodb.internal.connection.UsageTrackingInternalConnection.lastUsedAt:J
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
0 6 1 wrapped Lcom/mongodb/internal/connection/InternalConnection;
0 6 2 generation I
MethodParameters:
Name Flags
wrapped final
generation final
public void open();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.UsageTrackingInternalConnection.wrapped:Lcom/mongodb/internal/connection/InternalConnection;
invokeinterface com.mongodb.internal.connection.InternalConnection.open:()V
1: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield com.mongodb.internal.connection.UsageTrackingInternalConnection.openedAt:J
2: aload 0
aload 0
getfield com.mongodb.internal.connection.UsageTrackingInternalConnection.openedAt:J
putfield com.mongodb.internal.connection.UsageTrackingInternalConnection.lastUsedAt:J
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
public void openAsync(com.mongodb.async.SingleResultCallback<java.lang.Void>);
descriptor: (Lcom/mongodb/async/SingleResultCallback;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.mongodb.internal.connection.UsageTrackingInternalConnection.wrapped:Lcom/mongodb/internal/connection/InternalConnection;
new com.mongodb.internal.connection.UsageTrackingInternalConnection$1
dup
aload 0
aload 1
invokespecial com.mongodb.internal.connection.UsageTrackingInternalConnection$1.<init>:(Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;Lcom/mongodb/async/SingleResultCallback;)V
invokeinterface com.mongodb.internal.connection.InternalConnection.openAsync:(Lcom/mongodb/async/SingleResultCallback;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
0 2 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=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.UsageTrackingInternalConnection.wrapped:Lcom/mongodb/internal/connection/InternalConnection;
invokeinterface com.mongodb.internal.connection.InternalConnection.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
public boolean opened();
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.UsageTrackingInternalConnection.wrapped:Lcom/mongodb/internal/connection/InternalConnection;
invokeinterface com.mongodb.internal.connection.InternalConnection.opened:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
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.UsageTrackingInternalConnection.wrapped:Lcom/mongodb/internal/connection/InternalConnection;
invokeinterface com.mongodb.internal.connection.InternalConnection.isClosed:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
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.UsageTrackingInternalConnection.wrapped:Lcom/mongodb/internal/connection/InternalConnection;
iload 1
invokeinterface com.mongodb.internal.connection.InternalConnection.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/UsageTrackingInternalConnection;
0 1 1 size I
MethodParameters:
Name Flags
size final
public void sendMessage(java.util.List<org.bson.ByteBuf>, );
descriptor: (Ljava/util/List;I)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.UsageTrackingInternalConnection.wrapped:Lcom/mongodb/internal/connection/InternalConnection;
aload 1
iload 2
invokeinterface com.mongodb.internal.connection.InternalConnection.sendMessage:(Ljava/util/List;I)V
1: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield com.mongodb.internal.connection.UsageTrackingInternalConnection.lastUsedAt:J
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
0 3 1 byteBuffers Ljava/util/List<Lorg/bson/ByteBuf;>;
0 3 2 lastRequestId I
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: aload 0
getfield com.mongodb.internal.connection.UsageTrackingInternalConnection.wrapped:Lcom/mongodb/internal/connection/InternalConnection;
aload 1
aload 2
aload 3
invokeinterface com.mongodb.internal.connection.InternalConnection.sendAndReceive:(Lcom/mongodb/internal/connection/CommandMessage;Lorg/bson/codecs/Decoder;Lcom/mongodb/session/SessionContext;)Ljava/lang/Object;
astore 4
start local 4 1: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield com.mongodb.internal.connection.UsageTrackingInternalConnection.lastUsedAt:J
2: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
0 3 1 message Lcom/mongodb/internal/connection/CommandMessage;
0 3 2 decoder Lorg/bson/codecs/Decoder<TT;>;
0 3 3 sessionContext Lcom/mongodb/session/SessionContext;
1 3 4 result TT;
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=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new com.mongodb.internal.connection.UsageTrackingInternalConnection$2
dup
aload 0
aload 4
invokespecial com.mongodb.internal.connection.UsageTrackingInternalConnection$2.<init>:(Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;Lcom/mongodb/async/SingleResultCallback;)V
1: getstatic com.mongodb.internal.connection.UsageTrackingInternalConnection.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
2: invokestatic com.mongodb.internal.async.ErrorHandlingResultCallback.errorHandlingCallback:(Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/diagnostics/logging/Logger;)Lcom/mongodb/async/SingleResultCallback;
astore 5
start local 5 3: aload 0
getfield com.mongodb.internal.connection.UsageTrackingInternalConnection.wrapped:Lcom/mongodb/internal/connection/InternalConnection;
aload 1
aload 2
aload 3
aload 5
invokeinterface com.mongodb.internal.connection.InternalConnection.sendAndReceiveAsync:(Lcom/mongodb/internal/connection/CommandMessage;Lorg/bson/codecs/Decoder;Lcom/mongodb/session/SessionContext;Lcom/mongodb/async/SingleResultCallback;)V
4: return
end local 5 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/UsageTrackingInternalConnection;
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;>;
3 5 5 errHandlingCallback 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: aload 0
getfield com.mongodb.internal.connection.UsageTrackingInternalConnection.wrapped:Lcom/mongodb/internal/connection/InternalConnection;
iload 1
invokeinterface com.mongodb.internal.connection.InternalConnection.receiveMessage:(I)Lcom/mongodb/internal/connection/ResponseBuffers;
astore 2
start local 2 1: aload 0
invokestatic java.lang.System.currentTimeMillis:()J
putfield com.mongodb.internal.connection.UsageTrackingInternalConnection.lastUsedAt:J
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
0 3 1 responseTo I
1 3 2 responseBuffers Lcom/mongodb/internal/connection/ResponseBuffers;
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=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new com.mongodb.internal.connection.UsageTrackingInternalConnection$3
dup
aload 0
aload 3
invokespecial com.mongodb.internal.connection.UsageTrackingInternalConnection$3.<init>:(Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;Lcom/mongodb/async/SingleResultCallback;)V
1: getstatic com.mongodb.internal.connection.UsageTrackingInternalConnection.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
2: invokestatic com.mongodb.internal.async.ErrorHandlingResultCallback.errorHandlingCallback:(Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/diagnostics/logging/Logger;)Lcom/mongodb/async/SingleResultCallback;
astore 4
start local 4 3: aload 0
getfield com.mongodb.internal.connection.UsageTrackingInternalConnection.wrapped:Lcom/mongodb/internal/connection/InternalConnection;
aload 1
iload 2
aload 4
invokeinterface com.mongodb.internal.connection.InternalConnection.sendMessageAsync:(Ljava/util/List;ILcom/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/UsageTrackingInternalConnection;
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;>;
3 5 4 errHandlingCallback 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=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new com.mongodb.internal.connection.UsageTrackingInternalConnection$4
dup
aload 0
aload 2
invokespecial com.mongodb.internal.connection.UsageTrackingInternalConnection$4.<init>:(Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;Lcom/mongodb/async/SingleResultCallback;)V
1: getstatic com.mongodb.internal.connection.UsageTrackingInternalConnection.LOGGER:Lcom/mongodb/diagnostics/logging/Logger;
2: invokestatic com.mongodb.internal.async.ErrorHandlingResultCallback.errorHandlingCallback:(Lcom/mongodb/async/SingleResultCallback;Lcom/mongodb/diagnostics/logging/Logger;)Lcom/mongodb/async/SingleResultCallback;
astore 3
start local 3 3: aload 0
getfield com.mongodb.internal.connection.UsageTrackingInternalConnection.wrapped:Lcom/mongodb/internal/connection/InternalConnection;
iload 1
aload 3
invokeinterface com.mongodb.internal.connection.InternalConnection.receiveMessageAsync:(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/UsageTrackingInternalConnection;
0 5 1 responseTo I
0 5 2 callback Lcom/mongodb/async/SingleResultCallback<Lcom/mongodb/internal/connection/ResponseBuffers;>;
3 5 3 errHandlingCallback 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=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.UsageTrackingInternalConnection.wrapped:Lcom/mongodb/internal/connection/InternalConnection;
invokeinterface com.mongodb.internal.connection.InternalConnection.getDescription:()Lcom/mongodb/connection/ConnectionDescription;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
int getGeneration();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.UsageTrackingInternalConnection.generation:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
long getOpenedAt();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.UsageTrackingInternalConnection.openedAt:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
long getLastUsedAt();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.mongodb.internal.connection.UsageTrackingInternalConnection.lastUsedAt:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/internal/connection/UsageTrackingInternalConnection;
}
SourceFile: "UsageTrackingInternalConnection.java"
NestMembers:
com.mongodb.internal.connection.UsageTrackingInternalConnection$1 com.mongodb.internal.connection.UsageTrackingInternalConnection$2 com.mongodb.internal.connection.UsageTrackingInternalConnection$3 com.mongodb.internal.connection.UsageTrackingInternalConnection$4
InnerClasses:
com.mongodb.internal.connection.UsageTrackingInternalConnection$1
com.mongodb.internal.connection.UsageTrackingInternalConnection$2
com.mongodb.internal.connection.UsageTrackingInternalConnection$3
com.mongodb.internal.connection.UsageTrackingInternalConnection$4