Class IOURingRegWait.Buffer

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

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

    • Buffer Link icon

      public Buffer(ByteBuffer container)
      Creates a new IOURingRegWait.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 IOURingRegWait.SIZEOF, and its mark will be undefined.

      The created buffer instance holds a strong reference to the container object.

    • Buffer Link icon

      public Buffer(long address, int cap)
  • Method Details Link icon

    • ts Link icon

      public KernelTimespec ts()
      Returns:
      a KernelTimespec view of the ts field.
    • min_wait_usec Link icon

      public int min_wait_usec()
      Returns:
      the value of the min_wait_usec field.
    • flags Link icon

      public int flags()
      Returns:
      the value of the flags field.
    • sigmask Link icon

      public long sigmask()
      Returns:
      the value of the sigmask field.
    • sigmask_sz Link icon

      public int sigmask_sz()
      Returns:
      the value of the sigmask_sz field.
    • ts Link icon

      Copies the specified KernelTimespec to the ts field.
    • ts Link icon

      Passes the ts field to the specified Consumer.
    • min_wait_usec Link icon

      public IOURingRegWait.Buffer min_wait_usec(int value)
      Sets the specified value to the min_wait_usec field.
    • flags Link icon

      public IOURingRegWait.Buffer flags(int value)
      Sets the specified value to the flags field.
    • sigmask Link icon

      public IOURingRegWait.Buffer sigmask(long value)
      Sets the specified value to the sigmask field.
    • sigmask_sz Link icon

      public IOURingRegWait.Buffer sigmask_sz(int value)
      Sets the specified value to the sigmask_sz field.