Class IOURingSQE.Buffer

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

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

    • Buffer

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

    • opcode

      public byte opcode()
      Returns:
      the value of the opcode field.
    • flags

      public byte flags()
      Returns:
      the value of the flags field.
    • ioprio

      public short ioprio()
      Returns:
      the value of the ioprio field.
    • fd

      public int fd()
      Returns:
      the value of the fd field.
    • off

      public long off()
      Returns:
      the value of the off field.
    • addr2

      public long addr2()
      Returns:
      the value of the addr2 field.
    • cmd_op

      public int cmd_op()
      Returns:
      the value of the cmd_op field.
    • __pad1

      public int __pad1()
      Returns:
      the value of the __pad1 field.
    • addr

      public long addr()
      Returns:
      the value of the addr field.
    • splice_off_in

      public long splice_off_in()
      Returns:
      the value of the splice_off_in field.
    • level

      public int level()
      Returns:
      the value of the level field.
    • optname

      public int optname()
      Returns:
      the value of the optname field.
    • len

      public int len()
      Returns:
      the value of the len field.
    • rw_flags

      public int rw_flags()
      Returns:
      the value of the rw_flags field.
    • fsync_flags

      public int fsync_flags()
      Returns:
      the value of the fsync_flags field.
    • poll_events

      public short poll_events()
      Returns:
      the value of the poll_events field.
    • poll32_events

      public int poll32_events()
      Returns:
      the value of the poll32_events field.
    • sync_range_flags

      public int sync_range_flags()
      Returns:
      the value of the sync_range_flags field.
    • msg_flags

      public int msg_flags()
      Returns:
      the value of the msg_flags field.
    • timeout_flags

      public int timeout_flags()
      Returns:
      the value of the timeout_flags field.
    • accept_flags

      public int accept_flags()
      Returns:
      the value of the accept_flags field.
    • cancel_flags

      public int cancel_flags()
      Returns:
      the value of the cancel_flags field.
    • open_flags

      public int open_flags()
      Returns:
      the value of the open_flags field.
    • statx_flags

      public int statx_flags()
      Returns:
      the value of the statx_flags field.
    • fadvise_advice

      public int fadvise_advice()
      Returns:
      the value of the fadvise_advice field.
    • splice_flags

      public int splice_flags()
      Returns:
      the value of the splice_flags field.
    • rename_flags

      public int rename_flags()
      Returns:
      the value of the rename_flags field.
    • xattr_flags

      public int xattr_flags()
      Returns:
      the value of the xattr_flags field.
    • msg_ring_flags

      public int msg_ring_flags()
      Returns:
      the value of the msg_ring_flags field.
    • uring_cmd_flags

      public int uring_cmd_flags()
      Returns:
      the value of the uring_cmd_flags field.
    • waitid_flags

      public int waitid_flags()
      Returns:
      the value of the waitid_flags field.
    • futex_flags

      public int futex_flags()
      Returns:
      the value of the futex_flags field.
    • install_fd_flags

      public int install_fd_flags()
      Returns:
      the value of the install_fd_flags field.
    • nop_flags

      public int nop_flags()
      Returns:
      the value of the nop_flags field.
    • user_data

      public long user_data()
      Returns:
      the value of the user_data field.
    • buf_index

      public short buf_index()
      Returns:
      the value of the buf_index field.
    • buf_group

      public short buf_group()
      Returns:
      the value of the buf_group field.
    • personality

      public short personality()
      Returns:
      the value of the personality field.
    • splice_fd_in

      public int splice_fd_in()
      Returns:
      the value of the splice_fd_in field.
    • file_index

      public int file_index()
      Returns:
      the value of the file_index field.
    • zcrx_ifq_idx

      public int zcrx_ifq_idx()
      Returns:
      the value of the zcrx_ifq_idx field.
    • optlen

      public int optlen()
      Returns:
      the value of the optlen field.
    • addr_len

      public short addr_len()
      Returns:
      the value of the addr_len field.
    • __pad3

      public ShortBuffer __pad3()
      Returns:
      a ShortBuffer view of the __pad3 field.
    • __pad3

      public short __pad3(int index)
      Returns:
      the value at the specified index of the __pad3 field.
    • addr3

      public long addr3()
      Returns:
      the value of the addr3 field.
    • __pad2

      public LongBuffer __pad2()
      Returns:
      a LongBuffer view of the __pad2 field.
    • __pad2

      public long __pad2(int index)
      Returns:
      the value at the specified index of the __pad2 field.
    • optval

      public long optval()
      Returns:
      the value of the optval field.
    • cmd

      public ByteBuffer cmd()
      Returns:
      a ByteBuffer view of the cmd field.
    • cmd

      public byte cmd(int index)
      Returns:
      the value at the specified index of the cmd field.
    • opcode

      public IOURingSQE.Buffer opcode(byte value)
      Sets the specified value to the opcode field.
    • flags

      public IOURingSQE.Buffer flags(byte value)
      Sets the specified value to the flags field.
    • ioprio

      public IOURingSQE.Buffer ioprio(short value)
      Sets the specified value to the ioprio field.
    • fd

      public IOURingSQE.Buffer fd(int value)
      Sets the specified value to the fd field.
    • off

      public IOURingSQE.Buffer off(long value)
      Sets the specified value to the off field.
    • addr2

      public IOURingSQE.Buffer addr2(long value)
      Sets the specified value to the addr2 field.
    • cmd_op

      public IOURingSQE.Buffer cmd_op(int value)
      Sets the specified value to the cmd_op field.
    • __pad1

      public IOURingSQE.Buffer __pad1(int value)
      Sets the specified value to the __pad1 field.
    • addr

      public IOURingSQE.Buffer addr(long value)
      Sets the specified value to the addr field.
    • splice_off_in

      public IOURingSQE.Buffer splice_off_in(long value)
      Sets the specified value to the splice_off_in field.
    • level

      public IOURingSQE.Buffer level(int value)
      Sets the specified value to the level field.
    • optname

      public IOURingSQE.Buffer optname(int value)
      Sets the specified value to the optname field.
    • len

      public IOURingSQE.Buffer len(int value)
      Sets the specified value to the len field.
    • rw_flags

      public IOURingSQE.Buffer rw_flags(int value)
      Sets the specified value to the rw_flags field.
    • fsync_flags

      public IOURingSQE.Buffer fsync_flags(int value)
      Sets the specified value to the fsync_flags field.
    • poll_events

      public IOURingSQE.Buffer poll_events(short value)
      Sets the specified value to the poll_events field.
    • poll32_events

      public IOURingSQE.Buffer poll32_events(int value)
      Sets the specified value to the poll32_events field.
    • sync_range_flags

      public IOURingSQE.Buffer sync_range_flags(int value)
      Sets the specified value to the sync_range_flags field.
    • msg_flags

      public IOURingSQE.Buffer msg_flags(int value)
      Sets the specified value to the msg_flags field.
    • timeout_flags

      public IOURingSQE.Buffer timeout_flags(int value)
      Sets the specified value to the timeout_flags field.
    • accept_flags

      public IOURingSQE.Buffer accept_flags(int value)
      Sets the specified value to the accept_flags field.
    • cancel_flags

      public IOURingSQE.Buffer cancel_flags(int value)
      Sets the specified value to the cancel_flags field.
    • open_flags

      public IOURingSQE.Buffer open_flags(int value)
      Sets the specified value to the open_flags field.
    • statx_flags

      public IOURingSQE.Buffer statx_flags(int value)
      Sets the specified value to the statx_flags field.
    • fadvise_advice

      public IOURingSQE.Buffer fadvise_advice(int value)
      Sets the specified value to the fadvise_advice field.
    • splice_flags

      public IOURingSQE.Buffer splice_flags(int value)
      Sets the specified value to the splice_flags field.
    • rename_flags

      public IOURingSQE.Buffer rename_flags(int value)
      Sets the specified value to the rename_flags field.
    • xattr_flags

      public IOURingSQE.Buffer xattr_flags(int value)
      Sets the specified value to the xattr_flags field.
    • msg_ring_flags

      public IOURingSQE.Buffer msg_ring_flags(int value)
      Sets the specified value to the msg_ring_flags field.
    • uring_cmd_flags

      public IOURingSQE.Buffer uring_cmd_flags(int value)
      Sets the specified value to the uring_cmd_flags field.
    • waitid_flags

      public IOURingSQE.Buffer waitid_flags(int value)
      Sets the specified value to the waitid_flags field.
    • futex_flags

      public IOURingSQE.Buffer futex_flags(int value)
      Sets the specified value to the futex_flags field.
    • install_fd_flags

      public IOURingSQE.Buffer install_fd_flags(int value)
      Sets the specified value to the install_fd_flags field.
    • nop_flags

      public IOURingSQE.Buffer nop_flags(int value)
      Sets the specified value to the nop_flags field.
    • user_data

      public IOURingSQE.Buffer user_data(long value)
      Sets the specified value to the user_data field.
    • buf_index

      public IOURingSQE.Buffer buf_index(short value)
      Sets the specified value to the buf_index field.
    • buf_group

      public IOURingSQE.Buffer buf_group(short value)
      Sets the specified value to the buf_group field.
    • personality

      public IOURingSQE.Buffer personality(short value)
      Sets the specified value to the personality field.
    • splice_fd_in

      public IOURingSQE.Buffer splice_fd_in(int value)
      Sets the specified value to the splice_fd_in field.
    • file_index

      public IOURingSQE.Buffer file_index(int value)
      Sets the specified value to the file_index field.
    • zcrx_ifq_idx

      public IOURingSQE.Buffer zcrx_ifq_idx(int value)
      Sets the specified value to the zcrx_ifq_idx field.
    • optlen

      public IOURingSQE.Buffer optlen(int value)
      Sets the specified value to the optlen field.
    • addr_len

      public IOURingSQE.Buffer addr_len(short value)
      Sets the specified value to the addr_len field.
    • __pad3

      public IOURingSQE.Buffer __pad3(ShortBuffer value)
      Copies the specified ShortBuffer to the __pad3 field.
    • __pad3

      public IOURingSQE.Buffer __pad3(int index, short value)
      Sets the specified value at the specified index of the __pad3 field.
    • addr3

      public IOURingSQE.Buffer addr3(long value)
      Sets the specified value to the addr3 field.
    • __pad2

      public IOURingSQE.Buffer __pad2(LongBuffer value)
      Copies the specified LongBuffer to the __pad2 field.
    • __pad2

      public IOURingSQE.Buffer __pad2(int index, long value)
      Sets the specified value at the specified index of the __pad2 field.
    • optval

      public IOURingSQE.Buffer optval(long value)
      Sets the specified value to the optval field.
    • cmd

      public IOURingSQE.Buffer cmd(ByteBuffer value)
      Copies the specified ByteBuffer to the cmd field.
    • cmd

      public IOURingSQE.Buffer cmd(int index, byte value)
      Sets the specified value at the specified index of the cmd field.