class Selector extends AnyRef

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Selector
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Selector(selector: java.nio.channels.Selector)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def foreachSelectedKey[R, E](f: (SelectionKey) ⇒ ZIO[R, E, Boolean]): ZIO[R, E, Unit]

    Performs an effect with each selected key.

    Performs an effect with each selected key.

    If the result of effect is true, the key will be removed from the selected-key set, which is usually what you want after successfully handling a selected key.

  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final val keys: IO[ClosedSelectorException, Set[SelectionKey]]
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final val provider: UIO[SelectorProvider]
  18. final def removeKey(key: SelectionKey): IO[ClosedSelectorException, Unit]
  19. final def select: ZIO[Blocking, Exception, Int]

    Can throw IOException and ClosedSelectorException.

  20. final def select(timeout: Duration): ZIO[Blocking, Exception, Int]

    Can throw IOException and ClosedSelectorException.

  21. final val selectNow: IO[Exception, Int]

    Can throw IOException and ClosedSelectorException.

  22. final val selectedKeys: IO[ClosedSelectorException, Set[SelectionKey]]

    Returns this selector's selected-key set.

    Returns this selector's selected-key set.

    Note that the returned set it mutable - keys may be removed from, but not directly added to it. Any attempt to add an object to the key set will cause an UnsupportedOperationException to be thrown. The selected-key set is not thread-safe.

  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  28. final val wakeup: IO[Nothing, Unit]

Inherited from AnyRef

Inherited from Any

Ungrouped