Class/Object

zio.nio.channels

Selector

Related Docs: object Selector | package channels

Permalink

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)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.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]

    Permalink

    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[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final val keys: IO[ClosedSelectorException, Set[SelectionKey]]

    Permalink
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final val provider: UIO[SelectorProvider]

    Permalink
  18. final def removeKey(key: SelectionKey): IO[ClosedSelectorException, Unit]

    Permalink
  19. final def select: ZIO[Blocking, Exception, Int]

    Permalink

    Can throw IOException and ClosedSelectorException.

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

    Permalink

    Can throw IOException and ClosedSelectorException.

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

    Permalink

    Can throw IOException and ClosedSelectorException.

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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final val wakeup: IO[Nothing, Unit]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped