Class NioSelectableChannelHandle<S extends SelectableChannel>

    • Constructor Detail

      • NioSelectableChannelHandle

        public NioSelectableChannelHandle​(S channel,
                                          int interestOps,
                                          BiConsumer<S,​SelectionKey> keyProcessor)
    • Method Detail

      • isRegistered

        public boolean isRegistered()
        Description copied from interface: IoHandle
        Return true if registered already.
        Specified by:
        isRegistered in interface IoHandle
        Returns:
        true if registered, false otherwise