Class IoUringIoEvent

  • All Implemented Interfaces:
    IoEvent

    public final class IoUringIoEvent
    extends java.lang.Object
    implements IoEvent
    IoEvent that will be produced as an result of a IoUringIoOps.
    • Constructor Summary

      Constructors 
      Constructor Description
      IoUringIoEvent​(int res, int flags, byte opcode, short data)
      Create a new instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      short data()
      Returns the data that is passed as part of IoUringIoOps.
      int flags()
      Returns the flags.
      byte opcode()
      Returns the op code of the IoUringIoOps.
      int res()
      Returns the result.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IoUringIoEvent

        public IoUringIoEvent​(int res,
                              int flags,
                              byte opcode,
                              short data)
        Create a new instance
        Parameters:
        res - the result.
        flags - the flags
        opcode - the op code
        data - the user data that was given as part of the submission.
    • Method Detail

      • res

        public int res()
        Returns the result.
        Returns:
        the result
      • flags

        public int flags()
        Returns the flags.
        Returns:
        flags
      • opcode

        public byte opcode()
        Returns the op code of the IoUringIoOps.
        Returns:
        opcode
      • data

        public short data()
        Returns the data that is passed as part of IoUringIoOps.
        Returns:
        data.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object