IoUringTbl

io.quartz.netio.IoUringTbl
See theIoUringTbl companion class
object IoUringTbl

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
IoUringTbl.type

Members list

Value members

Concrete methods

def apply(server: QuartzH2Server, count: Int, ringSize: Int): IO[IoUringTbl]

Create a new IoUringTbl with the specified number of IoUring instances.

Create a new IoUringTbl with the specified number of IoUring instances.

Value parameters

count

Number of IoUring instances to create

ringSize

Size of each IoUring instance

Attributes

Returns

IO containing a new IoUringTbl

def getCqesProcessor(entry: IoUringEntry): IO[Unit]
def submitProcessor(entry: IoUringEntry): IO[Unit]

Processes I/O events for a specific IoUringEntry.

Processes I/O events for a specific IoUringEntry.

This method creates a continuous processing loop that waits for signals from the queue when read/write operations are enqueued, executes the IoUring event loop to process completion events, and continues the loop to handle subsequent events.

The processor terminates gracefully when the queue is shut down or an error occurs. Each IoUringEntry should have its own processor running to handle its events.

Value parameters

entry

The IoUringEntry whose events will be processed

Attributes

Returns

An IO that runs continuously until the queue is shut down

Concrete fields

var shutdown: Boolean