Class IoUringIoHandler.DefaultIoUringIoRegistration

    • Field Detail

      • canceled

        private final java.util.concurrent.atomic.AtomicBoolean canceled
      • removeLater

        private boolean removeLater
      • outstandingCompletions

        private int outstandingCompletions
      • id

        private int id
    • Method Detail

      • setId

        void setId​(int id)
      • submit

        public long submit​(IoOps ops)
        Description copied from interface: IoRegistration
        Submit the IoOps to the registration.
        Specified by:
        submit in interface IoRegistration
        Parameters:
        ops - ops.
        Returns:
        an identifier for the operation, which might be unique or not (depending on the implementation).
      • submitFastPath0

        private void submitFastPath0​(IoUringIoOps ioOps,
                                     long seq)
      • submitSlowPath0

        private void submitSlowPath0​(IoUringIoOps ioOps,
                                     long token,
                                     long userData)
      • canUseFastPath

        private boolean canUseFastPath​(long userData)
      • fd

        private int fd()
      • attachment

        public <T> T attachment()
        Description copied from interface: IoRegistration
        Implementation specific attachment, which might be null.
        Specified by:
        attachment in interface IoRegistration
        Returns:
        attachment.
      • cancel

        public boolean cancel()
        Description copied from interface: IoRegistration
        Cancel the registration.
        Specified by:
        cancel in interface IoRegistration
        Returns:
        true if cancellation was successful, false otherwise.
      • tryRemove

        private void tryRemove()
      • remove

        private void remove()
      • close

        void close()
      • handle

        void handle​(int res,
                    int flags,
                    byte op,
                    long userData,
                    java.nio.ByteBuffer extraCqeData)