Class SelectedSelectionKeySetSelector

java.lang.Object
java.nio.channels.Selector
io.netty.channel.nio.SelectedSelectionKeySetSelector
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable

final class SelectedSelectionKeySetSelector extends java.nio.channels.Selector
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final java.nio.channels.Selector
     
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SelectedSelectionKeySetSelector(java.nio.channels.Selector delegate, SelectedSelectionKeySet selectionKeys)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
     
    java.util.Set<java.nio.channels.SelectionKey>
     
    java.nio.channels.spi.SelectorProvider
     
    int
     
    int
    select(long timeout)
     
    java.util.Set<java.nio.channels.SelectionKey>
     
    int
     
    java.nio.channels.Selector
     

    Methods inherited from class java.nio.channels.Selector

    open

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • selectionKeys

      private final SelectedSelectionKeySet selectionKeys
    • delegate

      private final java.nio.channels.Selector delegate
  • Constructor Details

    • SelectedSelectionKeySetSelector

      SelectedSelectionKeySetSelector(java.nio.channels.Selector delegate, SelectedSelectionKeySet selectionKeys)
  • Method Details

    • isOpen

      public boolean isOpen()
      Specified by:
      isOpen in class java.nio.channels.Selector
    • provider

      public java.nio.channels.spi.SelectorProvider provider()
      Specified by:
      provider in class java.nio.channels.Selector
    • keys

      public java.util.Set<java.nio.channels.SelectionKey> keys()
      Specified by:
      keys in class java.nio.channels.Selector
    • selectedKeys

      public java.util.Set<java.nio.channels.SelectionKey> selectedKeys()
      Specified by:
      selectedKeys in class java.nio.channels.Selector
    • selectNow

      public int selectNow() throws java.io.IOException
      Specified by:
      selectNow in class java.nio.channels.Selector
      Throws:
      java.io.IOException
    • select

      public int select(long timeout) throws java.io.IOException
      Specified by:
      select in class java.nio.channels.Selector
      Throws:
      java.io.IOException
    • select

      public int select() throws java.io.IOException
      Specified by:
      select in class java.nio.channels.Selector
      Throws:
      java.io.IOException
    • wakeup

      public java.nio.channels.Selector wakeup()
      Specified by:
      wakeup in class java.nio.channels.Selector
    • close

      public void close() throws java.io.IOException
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface java.io.Closeable
      Specified by:
      close in class java.nio.channels.Selector
      Throws:
      java.io.IOException