软件包 | 描述 |
---|---|
io.netty.channel.epoll |
针对linux的优化传输,使用
EPOLL Edge-Triggered Mode获得最高性能。
|
io.netty.channel.unix |
Unix专用传输。
|
Modifier and Type | Method and Description |
---|---|
static FileDescriptor |
Native.newEpollCreate() |
static FileDescriptor |
Native.newEventFd() |
static FileDescriptor |
Native.newTimerFd() |
Modifier and Type | Method and Description |
---|---|
static int |
Native.epollWait(FileDescriptor epollFd, io.netty.channel.epoll.EpollEventArray events, FileDescriptor timerFd, int timeoutSec, int timeoutNs) |
protected int |
AbstractEpollStreamChannel.SpliceInTask.spliceIn(FileDescriptor pipeOut, RecvByteBufAllocator.Handle handle) |
ChannelFuture |
AbstractEpollStreamChannel.spliceTo(FileDescriptor ch, int offset, int len)
|
ChannelFuture |
AbstractEpollStreamChannel.spliceTo(FileDescriptor ch, int offset, int len, ChannelPromise promise)
|
Modifier and Type | Class and Description |
---|---|
class |
Socket
为本地套接字操作提供JNI桥接。
|
Modifier and Type | Method and Description |
---|---|
FileDescriptor |
UnixChannel.fd()
返回此 Channel 使用的FileDescriptor 。
|
static FileDescriptor |
FileDescriptor.from(java.io.File file)
打开一个新 FileDescriptor 为给定File 。
|
static FileDescriptor |
FileDescriptor.from(java.lang.String path)
为给定路径打开一个新的 FileDescriptor 。
|
static FileDescriptor[] |
FileDescriptor.pipe() |
Constructor and Description |
---|
SocketWritableByteChannel(FileDescriptor fd) |
Copyright © 2008–2018 The Netty Project. All rights reserved.