Class IOURingQueryHdr.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<IOURingQueryHdr>, NativeResource, Pointer
Enclosing class:
IOURingQueryHdr

public static class IOURingQueryHdr.Buffer extends StructBuffer<IOURingQueryHdr, IOURingQueryHdr.Buffer> implements NativeResource
An array of IOURingQueryHdr structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new IOURingQueryHdr.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 by IOURingQueryHdr.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 Details

    • next_entry

      @NativeType("__u64") public long next_entry()
      Returns:
      the value of the next_entry field.
    • query_data

      @NativeType("__u64") public long query_data()
      Returns:
      the value of the query_data field.
    • query_op

      @NativeType("__u32") public int query_op()
      Returns:
      the value of the query_op field.
    • size

      @NativeType("__u32") public int size()
      Returns:
      the value of the size field.
    • result

      @NativeType("__s32") public int result()
      Returns:
      the value of the result field.
    • next_entry

      public IOURingQueryHdr.Buffer next_entry(@NativeType("__u64") long value)
      Sets the specified value to the next_entry field.
    • query_data

      public IOURingQueryHdr.Buffer query_data(@NativeType("__u64") long value)
      Sets the specified value to the query_data field.
    • query_op

      public IOURingQueryHdr.Buffer query_op(@NativeType("__u32") int value)
      Sets the specified value to the query_op field.
    • size

      public IOURingQueryHdr.Buffer size(@NativeType("__u32") int value)
      Sets the specified value to the size field.
    • result

      public IOURingQueryHdr.Buffer result(@NativeType("__s32") int value)
      Sets the specified value to the result field.