| 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 | Class and Description |
|---|---|
class |
LinuxSocket
A socket which provides access Linux native methods.
|
| 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,
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,
EpollEventArray events,
FileDescriptor timerFd,
int timeoutSec,
int timeoutNs)
Deprecated.
this method is no longer supported. This functionality is internal to this package.
|
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 | Field and Description |
|---|---|
protected FileDescriptor |
SocketWritableByteChannel.fd |
| Modifier and Type | Method and Description |
|---|---|
FileDescriptor |
UnixChannel.fd()
Returns the
FileDescriptor that is used by this Channel. |
static FileDescriptor |
FileDescriptor.from(File file)
Open a new
FileDescriptor for the given File. |
static FileDescriptor |
FileDescriptor.from(String path)
Open a new
FileDescriptor for the given path. |
static FileDescriptor[] |
FileDescriptor.pipe() |
| Constructor and Description |
|---|
SocketWritableByteChannel(FileDescriptor fd) |
Copyright © 2008–2025 The Netty Project. All rights reserved.