Class IOURingQueryOpcode.Buffer

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

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

    • Buffer

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

    • nr_request_opcodes

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

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

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

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

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

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

      public IOURingQueryOpcode.Buffer nr_request_opcodes(@NativeType("__u32") int value)
      Sets the specified value to the nr_request_opcodes field.
    • nr_register_opcodes

      public IOURingQueryOpcode.Buffer nr_register_opcodes(@NativeType("__u32") int value)
      Sets the specified value to the nr_register_opcodes field.
    • feature_flags

      public IOURingQueryOpcode.Buffer feature_flags(@NativeType("__u64") long value)
      Sets the specified value to the feature_flags field.
    • ring_setup_flags

      public IOURingQueryOpcode.Buffer ring_setup_flags(@NativeType("__u64") long value)
      Sets the specified value to the ring_setup_flags field.
    • enter_flags

      public IOURingQueryOpcode.Buffer enter_flags(@NativeType("__u64") long value)
      Sets the specified value to the enter_flags field.
    • sqe_flags

      public IOURingQueryOpcode.Buffer sqe_flags(@NativeType("__u64") long value)
      Sets the specified value to the sqe_flags field.