Packages

object ExecutorScheduler extends Serializable

Source
ExecutorScheduler.scala
Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExecutorScheduler
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply(service: ExecutorService, reporter: UncaughtExceptionReporter, executionModel: execution.ExecutionModel): ExecutorScheduler

    Builder for an ExecutorScheduler, converting a Java ScheduledExecutorService.

    Builder for an ExecutorScheduler, converting a Java ScheduledExecutorService.

    service

    is the Java ScheduledExecutorService that will take care of scheduling and execution of all runnables.

    reporter

    is the UncaughtExceptionReporter that logs uncaught exceptions.

    executionModel

    is the preferred ExecutionModel, a guideline for run-loops and producers of data.

  2. def forkJoinDynamic(name: String, parallelism: Int, maxThreads: Int, daemonic: Boolean, reporter: UncaughtExceptionReporter, executionModel: execution.ExecutionModel): ExecutorScheduler

    Creates an ExecutorScheduler backed by a ForkJoinPool integrated with Scala's BlockContext.

  3. def forkJoinStatic(name: String, parallelism: Int, daemonic: Boolean, reporter: UncaughtExceptionReporter, executionModel: execution.ExecutionModel): ExecutorScheduler

    Creates an ExecutorScheduler backed by a ForkJoinPool that isn't integrated with Scala's BlockContext.