scala.reactive

Scheduler

object Scheduler

Companion object for creating standard isolate schedulers.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Scheduler
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract class Dedicated extends Scheduler

    An abstract scheduler that always dedicates a thread to an isolate.

  2. class Executed extends Scheduler

    A Scheduler that reuses the target Java Executor.

  3. type Handler = PartialFunction[Throwable, Unit]

  4. class Timer extends Scheduler

    Executes the isolate on the timer thread.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object Dedicated

    Contains utility classes and implementations of the dedicated scheduler.

  7. object Implicits

    Implicit scheduler objects - importing one of the implicit schedulers into a certain scope makes it available for all the newly started isolates.

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. lazy val default: Scheduler

    Default isolate scheduler.

  11. val defaultHandler: Handler

    The default handler prints the exception to the standard error stream.

  12. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. lazy val globalExecutionContext: Scheduler

    Scheduler that shares the global Scala execution context.

  17. def hashCode(): Int

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

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. lazy val newThread: Scheduler

    A scheduler that always starts an isolate on a dedicated thread.

  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. lazy val piggyback: Scheduler

    A scheduler that reuses (piggybacks) the current thread to run the isolate.

    A scheduler that reuses (piggybacks) the current thread to run the isolate.

    Until the isolate terminates, the current thread is blocked and cannot be used any more. This scheduler cannot be used to start isolates from within another isolate, and is typically used to turn the application main thread into an isolate.

    See also

    scala.reactive.Scheduler.Dedicated.Piggyback

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped