Interface ManagedSelector.Selectable

    • Method Detail

      • onSelected

        Runnable onSelected()
        Deprecated.
        Callback method invoked when a read or write events has been detected by the ManagedSelector for this endpoint.
        Returns:
        a job that may block or null
      • updateKey

        void updateKey()
        Deprecated.
        Callback method invoked when all the keys selected by the ManagedSelector for this endpoint have been processed.
      • replaceKey

        void replaceKey​(SelectionKey newKey)
        Deprecated.
        Callback method invoked when the SelectionKey is replaced because the channel has been moved to a new selector.
        Parameters:
        newKey - the new SelectionKey