Package org.lwjgl.system.linux.liburing
Class IOURingParams.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<IOURingParams,IOURingParams.Buffer>
-
- org.lwjgl.system.linux.liburing.IOURingParams.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,java.lang.Iterable<IOURingParams>
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
- Enclosing class:
- IOURingParams
public static class IOURingParams.Buffer extends org.lwjgl.system.StructBuffer<IOURingParams,IOURingParams.Buffer> implements org.lwjgl.system.NativeResource
An array ofIOURingParams
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
cq_entries()
IOURingParams.Buffer
cq_entries(int value)
Sets the specified value to thecq_entries
field.IOCQRingOffsets
cq_off()
IOURingParams.Buffer
cq_off(java.util.function.Consumer<IOCQRingOffsets> consumer)
Passes thecq_off
field to the specifiedConsumer
.IOURingParams.Buffer
cq_off(IOCQRingOffsets value)
Copies the specifiedIOCQRingOffsets
to thecq_off
field.int
features()
IOURingParams.Buffer
features(int value)
Sets the specified value to theIOURingParams.features()
field.int
flags()
IOURingParams.Buffer
flags(int value)
Sets the specified value to theIOURingParams.flags()
field.java.nio.IntBuffer
resv()
int
resv(int index)
IOURingParams.Buffer
resv(int index, int value)
Sets the specified value at the specified index of theresv
field.IOURingParams.Buffer
resv(java.nio.IntBuffer value)
Copies the specifiedIntBuffer
to theresv
field.int
sq_entries()
IOURingParams.Buffer
sq_entries(int value)
Sets the specified value to theIOURingParams.sq_entries()
field.IOSQRingOffsets
sq_off()
IOURingParams.Buffer
sq_off(java.util.function.Consumer<IOSQRingOffsets> consumer)
Passes theIOURingParams.sq_off()
field to the specifiedConsumer
.IOURingParams.Buffer
sq_off(IOSQRingOffsets value)
Copies the specifiedIOSQRingOffsets
to theIOURingParams.sq_off()
field.int
sq_thread_cpu()
IOURingParams.Buffer
sq_thread_cpu(int value)
Sets the specified value to thesq_thread_cpu
field.int
sq_thread_idle()
IOURingParams.Buffer
sq_thread_idle(int value)
Sets the specified value to thesq_thread_idle
field.int
wq_fd()
IOURingParams.Buffer
wq_fd(int value)
Sets the specified value to thewq_fd
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newIOURingParams.Buffer
instance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided byIOURingParams.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
sq_entries
public int sq_entries()
- Returns:
- the value of the
IOURingParams.sq_entries()
field.
-
cq_entries
public int cq_entries()
- Returns:
- the value of the
cq_entries
field.
-
flags
public int flags()
- Returns:
- the value of the
IOURingParams.flags()
field.
-
sq_thread_cpu
public int sq_thread_cpu()
- Returns:
- the value of the
sq_thread_cpu
field.
-
sq_thread_idle
public int sq_thread_idle()
- Returns:
- the value of the
sq_thread_idle
field.
-
features
public int features()
- Returns:
- the value of the
IOURingParams.features()
field.
-
wq_fd
public int wq_fd()
- Returns:
- the value of the
wq_fd
field.
-
resv
public java.nio.IntBuffer resv()
- Returns:
- a
IntBuffer
view of theresv
field.
-
resv
public int resv(int index)
- Returns:
- the value at the specified index of the
resv
field.
-
sq_off
public IOSQRingOffsets sq_off()
- Returns:
- a
IOSQRingOffsets
view of theIOURingParams.sq_off()
field.
-
cq_off
public IOCQRingOffsets cq_off()
- Returns:
- a
IOCQRingOffsets
view of thecq_off
field.
-
sq_entries
public IOURingParams.Buffer sq_entries(int value)
Sets the specified value to theIOURingParams.sq_entries()
field.
-
cq_entries
public IOURingParams.Buffer cq_entries(int value)
Sets the specified value to thecq_entries
field.
-
flags
public IOURingParams.Buffer flags(int value)
Sets the specified value to theIOURingParams.flags()
field.
-
sq_thread_cpu
public IOURingParams.Buffer sq_thread_cpu(int value)
Sets the specified value to thesq_thread_cpu
field.
-
sq_thread_idle
public IOURingParams.Buffer sq_thread_idle(int value)
Sets the specified value to thesq_thread_idle
field.
-
features
public IOURingParams.Buffer features(int value)
Sets the specified value to theIOURingParams.features()
field.
-
wq_fd
public IOURingParams.Buffer wq_fd(int value)
Sets the specified value to thewq_fd
field.
-
resv
public IOURingParams.Buffer resv(java.nio.IntBuffer value)
Copies the specifiedIntBuffer
to theresv
field.
-
resv
public IOURingParams.Buffer resv(int index, int value)
Sets the specified value at the specified index of theresv
field.
-
sq_off
public IOURingParams.Buffer sq_off(IOSQRingOffsets value)
Copies the specifiedIOSQRingOffsets
to theIOURingParams.sq_off()
field.
-
sq_off
public IOURingParams.Buffer sq_off(java.util.function.Consumer<IOSQRingOffsets> consumer)
Passes theIOURingParams.sq_off()
field to the specifiedConsumer
.
-
cq_off
public IOURingParams.Buffer cq_off(IOCQRingOffsets value)
Copies the specifiedIOCQRingOffsets
to thecq_off
field.
-
cq_off
public IOURingParams.Buffer cq_off(java.util.function.Consumer<IOCQRingOffsets> consumer)
Passes thecq_off
field to the specifiedConsumer
.
-
-