Class IOURingZCRXRQ.Buffer

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

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

    • Buffer

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

    • khead

      public IntBuffer khead(int capacity)
      Returns:
      a IntBuffer view of the data pointed to by the khead field.
    • ktail

      public IntBuffer ktail(int capacity)
      Returns:
      a IntBuffer view of the data pointed to by the ktail field.
    • rq_tail

      public int rq_tail()
      Returns:
      the value of the rq_tail field.
    • ring_entries

      public int ring_entries()
      Returns:
      the value of the ring_entries field.
    • rqes

      public IOURingZCRXRQE rqes()
      Returns:
      a IOURingZCRXRQE view of the struct pointed to by the rqes field.
    • ring_ptr

      public long ring_ptr()
      Returns:
      the value of the ring_ptr field.
    • khead

      public IOURingZCRXRQ.Buffer khead(IntBuffer value)
      Sets the address of the specified IntBuffer to the khead field.
    • ktail

      public IOURingZCRXRQ.Buffer ktail(IntBuffer value)
      Sets the address of the specified IntBuffer to the ktail field.
    • rq_tail

      public IOURingZCRXRQ.Buffer rq_tail(int value)
      Sets the specified value to the rq_tail field.
    • ring_entries

      public IOURingZCRXRQ.Buffer ring_entries(int value)
      Sets the specified value to the ring_entries field.
    • rqes

      public IOURingZCRXRQ.Buffer rqes(IOURingZCRXRQE value)
      Sets the address of the specified IOURingZCRXRQE to the rqes field.
    • ring_ptr

      public IOURingZCRXRQ.Buffer ring_ptr(long value)
      Sets the specified value to the ring_ptr field.