Class IOURingGeteventsArg.Buffer

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

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

    • Buffer

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

    • sigmask

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

      public int sigmask_sz()
      Returns:
      the value of the sigmask_sz field.
    • min_wait_usec

      public int min_wait_usec()
      Returns:
      the value of the min_wait_usec field.
    • ts

      public long ts()
      Returns:
      the value of the ts field.
    • sigmask

      public IOURingGeteventsArg.Buffer sigmask(long value)
      Sets the specified value to the sigmask field.
    • sigmask_sz

      public IOURingGeteventsArg.Buffer sigmask_sz(int value)
      Sets the specified value to the sigmask_sz field.
    • min_wait_usec

      public IOURingGeteventsArg.Buffer min_wait_usec(int value)
      Sets the specified value to the min_wait_usec field.
    • ts

      public IOURingGeteventsArg.Buffer ts(long value)
      Sets the specified value to the ts field.