软件包 | 描述 |
---|---|
io.netty.channel |
核心通道API是异步和事件驱动的各种传输(如
NIO Channel)的抽象 。
|
io.netty.channel.epoll |
针对Linux的优化传输,使用
EPOLL Edge-Triggered Mode获得最高性能。
|
Modifier and Type | Interface and Description |
---|---|
static interface |
RecvByteBufAllocator.ExtendedHandle |
Modifier and Type | Class and Description |
---|---|
class |
DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
重点强化
DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle.continueReading() 的每个读取条件的最大消息
强度 。
|
static class |
RecvByteBufAllocator.DelegatingHandle
|
Modifier and Type | Method and Description |
---|---|
protected RecvByteBufAllocator.Handle |
RecvByteBufAllocator.DelegatingHandle.delegate()
获取将所有方法委托给的 RecvByteBufAllocator.Handle 。
|
RecvByteBufAllocator.Handle |
RecvByteBufAllocator.newHandle()
创建一个新的句柄。
|
RecvByteBufAllocator.Handle |
FixedRecvByteBufAllocator.newHandle() |
RecvByteBufAllocator.Handle |
DefaultMaxBytesRecvByteBufAllocator.newHandle() |
RecvByteBufAllocator.Handle |
AdaptiveRecvByteBufAllocator.newHandle() |
RecvByteBufAllocator.Handle |
Channel.Unsafe.recvBufAllocHandle()
Return the assigned
RecvByteBufAllocator.Handle which will be used to allocate
ByteBuf 's when receiving data.
|
RecvByteBufAllocator.Handle |
AbstractChannel.AbstractUnsafe.recvBufAllocHandle() |
Constructor and Description |
---|
DelegatingHandle(RecvByteBufAllocator.Handle delegate) |
Modifier and Type | Method and Description |
---|---|
protected int |
AbstractEpollStreamChannel.SpliceInTask.spliceIn(FileDescriptor pipeOut, RecvByteBufAllocator.Handle handle) |
Copyright © 2008–2018 The Netty Project. All rights reserved.