io.reactors

Scheduler

object Scheduler

Companion object for creating standard reactor 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 a reactor.

  2. class Executed extends Scheduler

    A Scheduler that reuses the target Java Executor.

  3. type Handler = PartialFunction[Throwable, Unit]

  4. abstract class State extends AnyRef

    Superclass for the information objects that a scheduler attaches to a reactor frame.

  5. class Timer extends Scheduler

    Executes the reactor on the timer thread.

    Executes the reactor on the timer thread.

    The reactor is run every period milliseconds. This is regardless of the number of events in this reactor's event queue.

    When the reactor runs, it flushes as many events as there are initially pending events.

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. object Dedicated

    Contains utility classes and implementations of the dedicated scheduler.

  5. object State

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

    Default reactor scheduler.

  9. lazy val defaultForkJoinPool: ForkJoinPool

  10. val defaultHandler: Handler

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

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

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

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

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

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

    Scheduler that shares the global Scala execution context.

  16. def hashCode(): Int

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

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

    Definition Classes
    AnyRef
  19. lazy val newThread: Scheduler

    A scheduler that always starts a reactor on a dedicated thread.

  20. final def notify(): Unit

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

    Definition Classes
    AnyRef
  22. lazy val piggyback: Scheduler

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

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

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

    See also

    org.reactors.Scheduler.Dedicated.Piggyback

  23. val silentHandler: Handler

    Silent handler ignores exceptions.

  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