软件包 | 描述 |
---|---|
io.netty.channel |
核心频道API是异步和事件驱动的各种传输(如
NIO Channel)的抽象 。
|
io.netty.channel.epoll |
针对linux的优化传输,使用
EPOLL Edge-Triggered Mode获得最高性能。
|
io.netty.channel.kqueue |
BSD专用运输。
|
io.netty.channel.rxtx |
基于
RXTX的串行和并行端口通信传输。
|
io.netty.channel.sctp |
抽象扩展核心通道API的SCTP套接字接口。
|
io.netty.channel.socket |
抽象扩展核心通道API的TCP和UDP套接字接口。
|
io.netty.channel.socket.oio |
旧阻塞基于I / O的套接字通道API实现 - 建议少量连接(<1000)。
|
io.netty.channel.udt |
UDT运输。
|
io.netty.channel.unix |
Unix专用传输。
|
Modifier and Type | Field and Description |
---|---|
static WriteBufferWaterMark |
WriteBufferWaterMark.DEFAULT |
Modifier and Type | Field and Description |
---|---|
static ChannelOption<WriteBufferWaterMark> |
ChannelOption.WRITE_BUFFER_WATER_MARK |
Modifier and Type | Method and Description |
---|---|
WriteBufferWaterMark |
DefaultChannelConfig.getWriteBufferWaterMark() |
WriteBufferWaterMark |
ChannelConfig.getWriteBufferWaterMark()
返回用于设置写入缓冲区的高位和低位标志的 WriteBufferWaterMark 。
|
Modifier and Type | Method and Description |
---|---|
ChannelConfig |
DefaultChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
ChannelConfig |
ChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark)
设置 WriteBufferWaterMark ,用于设置写入缓冲区的高位和低位水印。
|
Modifier and Type | Method and Description |
---|---|
EpollSocketChannelConfig |
EpollSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
EpollServerSocketChannelConfig |
EpollServerSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
EpollServerChannelConfig |
EpollServerChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
EpollDomainSocketChannelConfig |
EpollDomainSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
EpollDatagramChannelConfig |
EpollDatagramChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
EpollChannelConfig |
EpollChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
Modifier and Type | Method and Description |
---|---|
KQueueSocketChannelConfig |
KQueueSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
KQueueServerSocketChannelConfig |
KQueueServerSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
KQueueServerChannelConfig |
KQueueServerChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
KQueueDomainSocketChannelConfig |
KQueueDomainSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
KQueueDatagramChannelConfig |
KQueueDatagramChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
KQueueChannelConfig |
KQueueChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
Modifier and Type | Method and Description |
---|---|
RxtxChannelConfig |
RxtxChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark)
已过时。
|
Modifier and Type | Method and Description |
---|---|
SctpServerChannelConfig |
SctpServerChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
SctpChannelConfig |
SctpChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
SctpServerChannelConfig |
DefaultSctpServerChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
SctpChannelConfig |
DefaultSctpChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
Modifier and Type | Method and Description |
---|---|
SocketChannelConfig |
SocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
ServerSocketChannelConfig |
ServerSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
SocketChannelConfig |
DefaultSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
ServerSocketChannelConfig |
DefaultServerSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
DatagramChannelConfig |
DefaultDatagramChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
DatagramChannelConfig |
DatagramChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
Modifier and Type | Method and Description |
---|---|
OioSocketChannelConfig |
OioSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
OioServerSocketChannelConfig |
OioServerSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
OioDatagramChannelConfig |
OioDatagramChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
OioSocketChannelConfig |
DefaultOioSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
OioServerSocketChannelConfig |
DefaultOioServerSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
Modifier and Type | Method and Description |
---|---|
UdtServerChannelConfig |
UdtServerChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark)
已过时。
|
UdtChannelConfig |
UdtChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark)
已过时。
|
UdtServerChannelConfig |
DefaultUdtServerChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark)
已过时。
|
UdtChannelConfig |
DefaultUdtChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark)
已过时。
|
Modifier and Type | Method and Description |
---|---|
DomainSocketChannelConfig |
DomainSocketChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
Copyright © 2008–2018 The Netty Project. All rights reserved.