Interface IoHandle

All Superinterfaces:
AutoCloseable
All Known Subinterfaces:
EpollIoHandle, IoUringIoHandle, KQueueIoHandle, NioIoHandle
All Known Implementing Classes:
AbstractNioByteChannel.NioByteUnsafe, AbstractNioChannel.AbstractNioUnsafe, NioSelectableChannelIoHandle

public interface IoHandle extends AutoCloseable
A handle that can be registered to an IoHandler. All methods must be called from the ThreadAwareExecutor thread (which means ThreadAwareExecutor.isExecutorThread(Thread) must return true).

All the methods are expected to be called from the IoHandler on which this IoHandle was registered via IoHandler.register(IoHandle).