IoUringTbl

io.quartz.netio.IoUringTbl
See theIoUringTbl companion object
class IoUringTbl(entries: List[IoUringEntry])

IoUringTbl manages a collection of IoUring instances. It provides a method to get the least used IoUring instance based on reference counters.

Value parameters

entries

List of IoUringEntry instances

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def closeIoURings: IO[Unit]
def get: IO[IoUringEntry]

Get the IoUringEntry with the lowest reference counter value. This helps distribute the load across multiple IoUring instances.

Get the IoUringEntry with the lowest reference counter value. This helps distribute the load across multiple IoUring instances.

Attributes

Returns

IO containing the IoUringEntry with the lowest counter value

def release(entry: IoUringEntry): IO[Unit]

Release an IoUringEntry by decrementing its counter.

Release an IoUringEntry by decrementing its counter.

Value parameters

entry

The IoUringEntry to release

Attributes

Returns

IO[Unit]

def size: Int

Get the total number of entries in the table.

Get the total number of entries in the table.

Attributes

Returns

The number of IoUringEntry instances