Uses of Class
io.netty.channel.unix.FileDescriptor
-
Packages that use FileDescriptor Package Description io.netty.channel.epoll Optimized transport for linux which uses EPOLL Edge-Triggered Mode for maximal performance.io.netty.channel.kqueue BSD specific transport.io.netty.channel.unix Unix specific transport. -
-
Uses of FileDescriptor in io.netty.channel.epoll
Subclasses of FileDescriptor in io.netty.channel.epoll Modifier and Type Class Description class
LinuxSocket
A socket which provides access Linux native methods.Fields in io.netty.channel.epoll declared as FileDescriptor Modifier and Type Field Description private FileDescriptor
EpollEventLoop. epollFd
private FileDescriptor
EpollEventLoop. eventFd
private FileDescriptor
AbstractEpollStreamChannel.SpliceFdTask. fd
private FileDescriptor
AbstractEpollStreamChannel. pipeIn
private FileDescriptor
AbstractEpollStreamChannel. pipeOut
private FileDescriptor
EpollEventLoop. timerFd
Methods in io.netty.channel.epoll that return FileDescriptor Modifier and Type Method Description FileDescriptor
AbstractEpollChannel. fd()
static FileDescriptor
Native. newEpollCreate()
static FileDescriptor
Native. newEventFd()
static FileDescriptor
Native. newTimerFd()
Methods in io.netty.channel.epoll with parameters of type FileDescriptor Modifier and Type Method Description static int
Native. epollBusyWait(FileDescriptor epollFd, EpollEventArray events)
Non-blocking variant ofNative.epollWait(FileDescriptor, EpollEventArray, FileDescriptor, int, int)
that will also hint to processor we are in a busy-wait loop.(package private) static int
Native. epollWait(FileDescriptor epollFd, EpollEventArray events, boolean immediatePoll)
(package private) static int
Native. epollWait(FileDescriptor epollFd, EpollEventArray events, int timeoutMillis)
This uses epoll's own timeout and does not reset/re-arm any timerfdstatic int
Native. epollWait(FileDescriptor epollFd, EpollEventArray events, FileDescriptor timerFd, int timeoutSec, int timeoutNs)
Deprecated.this method is no longer supported.(package private) static long
Native. epollWait(FileDescriptor epollFd, EpollEventArray events, FileDescriptor timerFd, int timeoutSec, int timeoutNs, long millisThreshold)
private static void
AbstractEpollStreamChannel. safeClosePipe(FileDescriptor fd)
protected int
AbstractEpollStreamChannel.SpliceInTask. spliceIn(FileDescriptor pipeOut, RecvByteBufAllocator.Handle handle)
ChannelFuture
AbstractEpollStreamChannel. spliceTo(FileDescriptor ch, int offset, int len)
Splice from thisAbstractEpollStreamChannel
to anotherFileDescriptor
.ChannelFuture
AbstractEpollStreamChannel. spliceTo(FileDescriptor ch, int offset, int len, ChannelPromise promise)
Splice from thisAbstractEpollStreamChannel
to anotherFileDescriptor
.Constructors in io.netty.channel.epoll with parameters of type FileDescriptor Constructor Description EpollDomainSocketChannel(Channel parent, FileDescriptor fd)
SpliceFdTask(FileDescriptor fd, int offset, int len, ChannelPromise promise)
-
Uses of FileDescriptor in io.netty.channel.kqueue
Subclasses of FileDescriptor in io.netty.channel.kqueue Modifier and Type Class Description (package private) class
BsdSocket
A socket which provides access BSD native methods.Fields in io.netty.channel.kqueue declared as FileDescriptor Modifier and Type Field Description private FileDescriptor
KQueueEventLoop. kqueueFd
Methods in io.netty.channel.kqueue that return FileDescriptor Modifier and Type Method Description FileDescriptor
AbstractKQueueChannel. fd()
(package private) static FileDescriptor
Native. newKQueue()
-
Uses of FileDescriptor in io.netty.channel.unix
Subclasses of FileDescriptor in io.netty.channel.unix Modifier and Type Class Description class
Socket
Provides a JNI bridge to native socket operations.Fields in io.netty.channel.unix declared as FileDescriptor Modifier and Type Field Description protected FileDescriptor
SocketWritableByteChannel. fd
Fields in io.netty.channel.unix with type parameters of type FileDescriptor Modifier and Type Field Description private static java.util.concurrent.atomic.AtomicIntegerFieldUpdater<FileDescriptor>
FileDescriptor. stateUpdater
Methods in io.netty.channel.unix that return FileDescriptor Modifier and Type Method Description FileDescriptor
UnixChannel. fd()
Returns theFileDescriptor
that is used by thisChannel
.static FileDescriptor
FileDescriptor. from(java.io.File file)
Open a newFileDescriptor
for the givenFile
.static FileDescriptor
FileDescriptor. from(java.lang.String path)
Open a newFileDescriptor
for the given path.static FileDescriptor[]
FileDescriptor. pipe()
Constructors in io.netty.channel.unix with parameters of type FileDescriptor Constructor Description SocketWritableByteChannel(FileDescriptor fd)
-