Package org.ldaptive.transport.netty
Class NioConnectionFactoryTransport
- java.lang.Object
-
- org.ldaptive.transport.netty.NettyConnectionFactoryTransport
-
- org.ldaptive.transport.netty.NioConnectionFactoryTransport
-
- All Implemented Interfaces:
Transport
public class NioConnectionFactoryTransport extends NettyConnectionFactoryTransport
Creates netty connections using anNioEventLoopGroup
. The event loop group is shutdown when the connection factory is closed.
-
-
Field Summary
-
Fields inherited from class org.ldaptive.transport.netty.NettyConnectionFactoryTransport
logger
-
-
Constructor Summary
Constructors Constructor Description NioConnectionFactoryTransport()
Creates a new nio connection factory transport.NioConnectionFactoryTransport(int ioThreads)
Creates a new nio connection factory transport.NioConnectionFactoryTransport(int ioThreads, int messageThreads)
Creates a new nio connection factory transport.NioConnectionFactoryTransport(String name, int ioThreads)
Creates a new nio connection factory transport.NioConnectionFactoryTransport(String name, int ioThreads, int messageThreads)
Creates a new nio connection factory transport.
-
-
-
Constructor Detail
-
NioConnectionFactoryTransport
public NioConnectionFactoryTransport()
Creates a new nio connection factory transport.
-
NioConnectionFactoryTransport
public NioConnectionFactoryTransport(int ioThreads)
Creates a new nio connection factory transport.- Parameters:
ioThreads
- number of threads used for I/O in the event loop group
-
NioConnectionFactoryTransport
public NioConnectionFactoryTransport(String name, int ioThreads)
Creates a new nio connection factory transport.- Parameters:
name
- to assign the thread poolioThreads
- number of threads used for I/O in the event loop group
-
NioConnectionFactoryTransport
public NioConnectionFactoryTransport(int ioThreads, int messageThreads)
Creates a new nio connection factory transport.- Parameters:
ioThreads
- number of threads used for I/O in the event loop groupmessageThreads
- number of threads for LDAP message handling in the event loop group
-
NioConnectionFactoryTransport
public NioConnectionFactoryTransport(String name, int ioThreads, int messageThreads)
Creates a new nio connection factory transport.- Parameters:
name
- to assign the thread poolioThreads
- number of threads used for I/O in the event loop groupmessageThreads
- number of threads for LDAP message handling in the event loop group
-
-