public class com.mongodb.connection.AsynchronousSocketChannelStreamFactory implements com.mongodb.connection.StreamFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.mongodb.connection.AsynchronousSocketChannelStreamFactory
super_class: java.lang.Object
{
private final com.mongodb.connection.BufferProvider bufferProvider;
descriptor: Lcom/mongodb/connection/BufferProvider;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.mongodb.connection.SocketSettings settings;
descriptor: Lcom/mongodb/connection/SocketSettings;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.channels.AsynchronousChannelGroup group;
descriptor: Ljava/nio/channels/AsynchronousChannelGroup;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.mongodb.connection.SocketSettings, com.mongodb.connection.SslSettings);
descriptor: (Lcom/mongodb/connection/SocketSettings;Lcom/mongodb/connection/SslSettings;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokespecial com.mongodb.connection.AsynchronousSocketChannelStreamFactory.<init>:(Lcom/mongodb/connection/SocketSettings;Lcom/mongodb/connection/SslSettings;Ljava/nio/channels/AsynchronousChannelGroup;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/mongodb/connection/AsynchronousSocketChannelStreamFactory;
0 2 1 settings Lcom/mongodb/connection/SocketSettings;
0 2 2 sslSettings Lcom/mongodb/connection/SslSettings;
MethodParameters:
Name Flags
settings final
sslSettings final
public void <init>(com.mongodb.connection.SocketSettings, com.mongodb.connection.SslSettings, java.nio.channels.AsynchronousChannelGroup);
descriptor: (Lcom/mongodb/connection/SocketSettings;Lcom/mongodb/connection/SslSettings;Ljava/nio/channels/AsynchronousChannelGroup;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new com.mongodb.internal.connection.PowerOfTwoBufferPool
dup
invokespecial com.mongodb.internal.connection.PowerOfTwoBufferPool.<init>:()V
putfield com.mongodb.connection.AsynchronousSocketChannelStreamFactory.bufferProvider:Lcom/mongodb/connection/BufferProvider;
2: aload 2
invokevirtual com.mongodb.connection.SslSettings.isEnabled:()Z
ifeq 4
3: new java.lang.UnsupportedOperationException
dup
ldc "No SSL support in java.nio.channels.AsynchronousSocketChannel. For SSL support use com.mongodb.connection.netty.NettyStreamFactoryFactory"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: com.mongodb.connection.AsynchronousSocketChannelStreamFactory com.mongodb.connection.SocketSettings com.mongodb.connection.SslSettings java.nio.channels.AsynchronousChannelGroup
StackMap stack:
aload 0
ldc "settings"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.mongodb.connection.SocketSettings
putfield com.mongodb.connection.AsynchronousSocketChannelStreamFactory.settings:Lcom/mongodb/connection/SocketSettings;
5: aload 0
aload 3
putfield com.mongodb.connection.AsynchronousSocketChannelStreamFactory.group:Ljava/nio/channels/AsynchronousChannelGroup;
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/mongodb/connection/AsynchronousSocketChannelStreamFactory;
0 7 1 settings Lcom/mongodb/connection/SocketSettings;
0 7 2 sslSettings Lcom/mongodb/connection/SslSettings;
0 7 3 group Ljava/nio/channels/AsynchronousChannelGroup;
MethodParameters:
Name Flags
settings final
sslSettings final
group final
public com.mongodb.connection.Stream create(com.mongodb.ServerAddress);
descriptor: (Lcom/mongodb/ServerAddress;)Lcom/mongodb/connection/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: new com.mongodb.internal.connection.AsynchronousSocketChannelStream
dup
aload 1
aload 0
getfield com.mongodb.connection.AsynchronousSocketChannelStreamFactory.settings:Lcom/mongodb/connection/SocketSettings;
aload 0
getfield com.mongodb.connection.AsynchronousSocketChannelStreamFactory.bufferProvider:Lcom/mongodb/connection/BufferProvider;
aload 0
getfield com.mongodb.connection.AsynchronousSocketChannelStreamFactory.group:Ljava/nio/channels/AsynchronousChannelGroup;
invokespecial com.mongodb.internal.connection.AsynchronousSocketChannelStream.<init>:(Lcom/mongodb/ServerAddress;Lcom/mongodb/connection/SocketSettings;Lcom/mongodb/connection/BufferProvider;Ljava/nio/channels/AsynchronousChannelGroup;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/AsynchronousSocketChannelStreamFactory;
0 1 1 serverAddress Lcom/mongodb/ServerAddress;
MethodParameters:
Name Flags
serverAddress final
}
SourceFile: "AsynchronousSocketChannelStreamFactory.java"