Package io.netty.channel.uring
Class IoUringIoEvent
- java.lang.Object
- 
- io.netty.channel.uring.IoUringIoEvent
 
- 
- All Implemented Interfaces:
- IoEvent
 
 public final class IoUringIoEvent extends java.lang.Object implements IoEvent IoEventthat will be produced as an result of aIoUringIoOps.
- 
- 
Constructor SummaryConstructors Constructor Description IoUringIoEvent(int res, int flags, byte opcode, short data)Create a new instance
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description shortdata()Returns the data that is passed as part ofIoUringIoOps.java.nio.ByteBufferextraCqeData()Returns the extra data for the CQE.intflags()Returns the flags.byteopcode()Returns the op code of theIoUringIoOps.intres()Returns the result.java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
respublic int res() Returns the result.- Returns:
- the result
 
 - 
flagspublic int flags() Returns the flags.- Returns:
- flags
 
 - 
opcodepublic byte opcode() Returns the op code of theIoUringIoOps.- Returns:
- opcode
 
 - 
datapublic short data() Returns the data that is passed as part ofIoUringIoOps.- Returns:
- data.
 
 - 
extraCqeDatapublic java.nio.ByteBuffer extraCqeData() Returns the extra data for the CQE. This will only be non-null of the ring was setup withIORING_SETUP_CQE32. As thisByteBuffermaps into the shared completion queue its important to not hold any reference to it outside of theIoHandle.handle(IoRegistration, IoEvent)method.- Returns:
- extra data for the CQE or null.
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-