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 ofIOURingParamsstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcq_entries()IOURingParams.Buffercq_entries(int value)Sets the specified value to thecq_entriesfield.IOCQRingOffsetscq_off()IOURingParams.Buffercq_off(java.util.function.Consumer<IOCQRingOffsets> consumer)Passes thecq_offfield to the specifiedConsumer.IOURingParams.Buffercq_off(IOCQRingOffsets value)Copies the specifiedIOCQRingOffsetsto thecq_offfield.intfeatures()IOURingParams.Bufferfeatures(int value)Sets the specified value to theIOURingParams.features()field.intflags()IOURingParams.Bufferflags(int value)Sets the specified value to theIOURingParams.flags()field.java.nio.IntBufferresv()intresv(int index)IOURingParams.Bufferresv(int index, int value)Sets the specified value at the specified index of theresvfield.IOURingParams.Bufferresv(java.nio.IntBuffer value)Copies the specifiedIntBufferto theresvfield.intsq_entries()IOURingParams.Buffersq_entries(int value)Sets the specified value to theIOURingParams.sq_entries()field.IOSQRingOffsetssq_off()IOURingParams.Buffersq_off(java.util.function.Consumer<IOSQRingOffsets> consumer)Passes theIOURingParams.sq_off()field to the specifiedConsumer.IOURingParams.Buffersq_off(IOSQRingOffsets value)Copies the specifiedIOSQRingOffsetsto theIOURingParams.sq_off()field.intsq_thread_cpu()IOURingParams.Buffersq_thread_cpu(int value)Sets the specified value to thesq_thread_cpufield.intsq_thread_idle()IOURingParams.Buffersq_thread_idle(int value)Sets the specified value to thesq_thread_idlefield.intwq_fd()IOURingParams.Bufferwq_fd(int value)Sets the specified value to thewq_fdfield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newIOURingParams.Bufferinstance 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_entriesfield.
-
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_cpufield.
-
sq_thread_idle
public int sq_thread_idle()
- Returns:
- the value of the
sq_thread_idlefield.
-
features
public int features()
- Returns:
- the value of the
IOURingParams.features()field.
-
wq_fd
public int wq_fd()
- Returns:
- the value of the
wq_fdfield.
-
resv
public java.nio.IntBuffer resv()
- Returns:
- a
IntBufferview of theresvfield.
-
resv
public int resv(int index)
- Returns:
- the value at the specified index of the
resvfield.
-
sq_off
public IOSQRingOffsets sq_off()
- Returns:
- a
IOSQRingOffsetsview of theIOURingParams.sq_off()field.
-
cq_off
public IOCQRingOffsets cq_off()
- Returns:
- a
IOCQRingOffsetsview of thecq_offfield.
-
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_entriesfield.
-
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_cpufield.
-
sq_thread_idle
public IOURingParams.Buffer sq_thread_idle(int value)
Sets the specified value to thesq_thread_idlefield.
-
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_fdfield.
-
resv
public IOURingParams.Buffer resv(java.nio.IntBuffer value)
Copies the specifiedIntBufferto theresvfield.
-
resv
public IOURingParams.Buffer resv(int index, int value)
Sets the specified value at the specified index of theresvfield.
-
sq_off
public IOURingParams.Buffer sq_off(IOSQRingOffsets value)
Copies the specifiedIOSQRingOffsetsto 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 specifiedIOCQRingOffsetsto thecq_offfield.
-
cq_off
public IOURingParams.Buffer cq_off(java.util.function.Consumer<IOCQRingOffsets> consumer)
Passes thecq_offfield to the specifiedConsumer.
-
-