ExecutionContexts
ExecutionContexts is the Java API for ExecutionContexts
Attributes
- Source
- Future.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ExecutionContexts.type
Members list
Value members
Concrete methods
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.
Value parameters
- executor
-
the Executor which will be used for the ExecutionContext
Attributes
- Returns
-
a new ExecutionContext
- Source
- Future.scala
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.
Value parameters
- errorReporter
-
a Procedure that will log any exceptions passed to it
- executor
-
the Executor which will be used for the ExecutionContext
Attributes
- Returns
-
a new ExecutionContext
- Source
- Future.scala
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.
Value parameters
- executorService
-
the ExecutorService which will be used for the ExecutionContext
Attributes
- Returns
-
a new ExecutionContext
- Source
- Future.scala
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.
Value parameters
- errorReporter
-
a Procedure that will log any exceptions passed to it
- executorService
-
the ExecutorService which will be used for the ExecutionContext
Attributes
- Returns
-
a new ExecutionContext
- Source
- Future.scala
Attributes
- Returns
-
a reference to the global ExecutionContext
- Source
- Future.scala