Index
All Classes and Interfaces|All Packages
A
- AbstractIoUringChannel - Class in io.quartz.iouring
-
The type
AbstractIoUringSocket
. - AbstractIoUringSocket - Class in io.quartz.iouring
-
An
AbstractIoUringChannel
representing a network socket.
B
- ByteBufferUtil - Class in io.quartz.iouring.util
-
Utility methods for byte buffers.
- ByteBufferUtil() - Constructor for class io.quartz.iouring.util.ByteBufferUtil
C
- close() - Method in class io.quartz.iouring.AbstractIoUringChannel
-
Closes the socket.
- close() - Method in class io.quartz.iouring.IoUring
-
Closes the io_uring.
D
- deincrementReferenceCount() - Method in class io.quartz.iouring.util.ReferenceCounter
E
- execute() - Method in class io.quartz.iouring.IoUring
-
Submits all queued I/O operations to the kernel and waits an unlimited amount of time for any to complete.
- executeNow() - Method in class io.quartz.iouring.IoUring
-
Submits all queued I/O operations to the kernel and handles any pending completion events, returning immediately if none are present.
G
- getCqes(long) - Method in class io.quartz.iouring.IoUring
H
- handleReadCompletion(ByteBuffer, int) - Method in class io.quartz.iouring.AbstractIoUringChannel
- handleWriteCompletion(ByteBuffer, int) - Method in class io.quartz.iouring.AbstractIoUringChannel
I
- incrementReferenceCount() - Method in class io.quartz.iouring.util.ReferenceCounter
- io.quartz.iouring - package io.quartz.iouring
- io.quartz.iouring.util - package io.quartz.iouring.util
- IoUring - Class in io.quartz.iouring
-
Primary interface for creating and working with an
io_uring
. - IoUring() - Constructor for class io.quartz.iouring.IoUring
-
Instantiates a new
IoUring
withDEFAULT_MAX_EVENTS
. - IoUring(int) - Constructor for class io.quartz.iouring.IoUring
-
Instantiates a new Io uring.
- IoUringFile - Class in io.quartz.iouring
-
An
AbstractIoUringChannel
implementation for file operations. - IoUringFile(String) - Constructor for class io.quartz.iouring.IoUringFile
-
Instantiates a new
IoUringFile
. - IoUringServerSocket - Class in io.quartz.iouring
-
A
ServerSocket
analog for working with anio_uring
. - IoUringServerSocket(int) - Constructor for class io.quartz.iouring.IoUringServerSocket
-
Instantiates a new
IoUringServerSocket
bound to "127.0.0.1" on the specified port with the default backlog size ofDEFAULT_BACKLOG
. - IoUringServerSocket(String, int) - Constructor for class io.quartz.iouring.IoUringServerSocket
-
Instantiates a new
IoUringServerSocket
with a default backlog size ofDEFAULT_BACKLOG
. - IoUringServerSocket(String, int, int) - Constructor for class io.quartz.iouring.IoUringServerSocket
-
Instantiates a new
IoUringServerSocket
. - IoUringSocket - Class in io.quartz.iouring
-
A
Socket
analog for working with anio_uring
. - IoUringSocket(String, int) - Constructor for class io.quartz.iouring.IoUringSocket
-
Instantiates a new
IoUringSocket
. - ipAddress() - Method in class io.quartz.iouring.AbstractIoUringSocket
- isClosed() - Method in class io.quartz.iouring.AbstractIoUringChannel
-
Check if the channel is closed.
- isOpen() - Method in class io.quartz.iouring.AbstractIoUringChannel
-
Check if the channel is open.
- isReadPending() - Method in class io.quartz.iouring.AbstractIoUringChannel
-
Checks if a read operation is currently pending.
- isWritePending() - Method in class io.quartz.iouring.AbstractIoUringChannel
-
Checks if a write operation is currently pending.
L
- load() - Static method in class io.quartz.iouring.util.NativeLibraryLoader
- loop() - Method in class io.quartz.iouring.IoUring
-
Takes over the current thread with a loop calling
execute()
, until closed.
N
- NativeLibraryLoader - Class in io.quartz.iouring.util
- NativeLibraryLoader() - Constructor for class io.quartz.iouring.util.NativeLibraryLoader
O
- onAccept(BiConsumer<IoUring, IoUringSocket>) - Method in class io.quartz.iouring.IoUringServerSocket
-
Sets the accept handler.
- onClose(Runnable) - Method in class io.quartz.iouring.AbstractIoUringChannel
-
Sets the handler to be called when the channel is closed.
- onConnect(Consumer<IoUring>) - Method in class io.quartz.iouring.IoUringSocket
-
Set the connect handler.
- onException(Consumer<Exception>) - Method in class io.quartz.iouring.AbstractIoUringChannel
-
Sets the handler to be called when an exception is caught while handling I/O for the socket.
- onException(Consumer<Exception>) - Method in class io.quartz.iouring.IoUring
-
Sets the handler that is called when an
Exception
is caught during execution. - onRead(Consumer<ByteBuffer>) - Method in class io.quartz.iouring.AbstractIoUringChannel
-
Sets the handler to be called when a read operation completes.
- onRead(Consumer<ByteBuffer>) - Method in class io.quartz.iouring.IoUringServerSocket
- onWrite(Consumer<ByteBuffer>) - Method in class io.quartz.iouring.AbstractIoUringChannel
-
Sets the handler to be called when a write operation completes.
- onWrite(Consumer<ByteBuffer>) - Method in class io.quartz.iouring.IoUringServerSocket
- OsVersionCheck - Class in io.quartz.iouring.util
-
Operating system version check utility.
- OsVersionCheck() - Constructor for class io.quartz.iouring.util.OsVersionCheck
P
- port() - Method in class io.quartz.iouring.AbstractIoUringSocket
Q
- queueAccept(IoUringServerSocket) - Method in class io.quartz.iouring.IoUring
-
Queues a
IoUringServerSocket
for an accept operation on the next ring execution. - queueClose(AbstractIoUringChannel) - Method in class io.quartz.iouring.IoUring
- queueConnect(IoUringSocket) - Method in class io.quartz.iouring.IoUring
-
Queues a
IoUringServerSocket
for a connect operation on the next ring execution. - queueRead(AbstractIoUringChannel, ByteBuffer) - Method in class io.quartz.iouring.IoUring
-
Queues
IoUringSocket
for a read operation on the next ring execution. - queueRead(AbstractIoUringChannel, ByteBuffer, long) - Method in class io.quartz.iouring.IoUring
-
Queues
IoUringSocket
for a read operation on the next ring execution. - queueWrite(AbstractIoUringChannel, ByteBuffer) - Method in class io.quartz.iouring.IoUring
-
Queues
IoUringSocket
for a write operation on the next ring execution. - queueWrite(AbstractIoUringChannel, ByteBuffer, long) - Method in class io.quartz.iouring.IoUring
-
Queues
IoUringSocket
for a write operation on the next ring execution.
R
- ref() - Method in class io.quartz.iouring.util.ReferenceCounter
- ReferenceCounter<T> - Class in io.quartz.iouring.util
- ReferenceCounter(T) - Constructor for class io.quartz.iouring.util.ReferenceCounter
S
- setTimeout(int) - Method in class io.quartz.iouring.AbstractIoUringSocket
- submit() - Method in class io.quartz.iouring.IoUring
V
- verifySystemRequirements() - Static method in class io.quartz.iouring.util.OsVersionCheck
-
Verifies that the host system is Linux 5.1 or greater.
W
- wrapDirect(byte[]) - Static method in class io.quartz.iouring.util.ByteBufferUtil
-
Wrap a direct byte buffer.
- wrapDirect(String) - Static method in class io.quartz.iouring.util.ByteBufferUtil
-
Wrap direct byte buffer.
- wrapDirect(ByteBuffer) - Static method in class io.quartz.iouring.util.ByteBufferUtil
-
Copies a non-direct buffer to a new direct byte buffer, returning the argued buffer immediately if it is already direct.
All Classes and Interfaces|All Packages