Packages

o

akka.dispatch

ExecutionContexts

object ExecutionContexts

ExecutionContexts is the Java API for ExecutionContexts

Source
Future.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExecutionContexts
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def fromExecutor(executor: Executor, errorReporter: Procedure[Throwable]): ExecutionContextExecutor

    Returns a new ExecutionContextExecutor which will delegate execution to the underlying Executor, and which will use the provided error reporter.

    Returns a new ExecutionContextExecutor which will delegate execution to the underlying Executor, and which will use the provided error reporter.

    executor

    the Executor which will be used for the ExecutionContext

    errorReporter

    a Procedure that will log any exceptions passed to it

    returns

    a new ExecutionContext

  2. def fromExecutor(executor: Executor): ExecutionContextExecutor

    Returns a new ExecutionContextExecutor which will delegate execution to the underlying Executor, and which will use the default error reporter.

    Returns a new ExecutionContextExecutor which will delegate execution to the underlying Executor, and which will use the default error reporter.

    executor

    the Executor which will be used for the ExecutionContext

    returns

    a new ExecutionContext

  3. def fromExecutorService(executorService: ExecutorService, errorReporter: Procedure[Throwable]): ExecutionContextExecutorService

    Returns a new ExecutionContextExecutorService which will delegate execution to the underlying ExecutorService, and which will use the provided error reporter.

    Returns a new ExecutionContextExecutorService which will delegate execution to the underlying ExecutorService, and which will use the provided error reporter.

    executorService

    the ExecutorService which will be used for the ExecutionContext

    errorReporter

    a Procedure that will log any exceptions passed to it

    returns

    a new ExecutionContext

  4. def fromExecutorService(executorService: ExecutorService): ExecutionContextExecutorService

    Returns a new ExecutionContextExecutorService which will delegate execution to the underlying ExecutorService, and which will use the default error reporter.

    Returns a new ExecutionContextExecutorService which will delegate execution to the underlying ExecutorService, and which will use the default error reporter.

    executorService

    the ExecutorService which will be used for the ExecutionContext

    returns

    a new ExecutionContext

  5. def global(): ExecutionContextExecutor

    returns

    a reference to the global ExecutionContext