| Package | Description |
|---|---|
| io.netty.channel.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
| io.netty.channel.unix |
Unix specific transport.
|
| 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.epollBusyWait(FileDescriptor epollFd,
io.netty.channel.epoll.EpollEventArray events)
Non-blocking variant of
Native.epollWait(FileDescriptor, EpollEventArray, FileDescriptor, int, int)
that will also hint to processor we are in a busy-wait loop. |
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)
Splice from this
AbstractEpollStreamChannel to another FileDescriptor. |
ChannelFuture |
AbstractEpollStreamChannel.spliceTo(FileDescriptor ch,
int offset,
int len,
ChannelPromise promise)
Splice from this
AbstractEpollStreamChannel to another FileDescriptor. |
| Modifier and Type | Class and Description |
|---|---|
class |
Socket
Provides a JNI bridge to native socket operations.
|
| Modifier and Type | Method and Description |
|---|---|
FileDescriptor |
UnixChannel.fd()
Returns the
FileDescriptor that is used by this Channel. |
static FileDescriptor |
FileDescriptor.from(java.io.File file)
Open a new
FileDescriptor for the given File. |
static FileDescriptor |
FileDescriptor.from(java.lang.String path)
Open a new
FileDescriptor for the given path. |
static FileDescriptor[] |
FileDescriptor.pipe() |
| Constructor and Description |
|---|
SocketWritableByteChannel(FileDescriptor fd) |
Copyright © 2008–2019 The Netty Project. All rights reserved.