|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectakka.dispatch.ExecutionContexts$
public class ExecutionContexts$
ExecutionContexts is the Java API for ExecutionContexts
| Field Summary | |
|---|---|
static ExecutionContexts$ |
MODULE$
Static reference to the singleton instance of this Scala object. |
| Constructor Summary | |
|---|---|
ExecutionContexts$()
|
|
| Method Summary | |
|---|---|
scala.concurrent.ExecutionContextExecutor |
fromExecutor(java.util.concurrent.Executor executor)
Returns a new ExecutionContextExecutor which will delegate execution to the underlying Executor, and which will use the default error reporter. |
scala.concurrent.ExecutionContextExecutor |
fromExecutor(java.util.concurrent.Executor executor,
Procedure<java.lang.Throwable> errorReporter)
Returns a new ExecutionContextExecutor which will delegate execution to the underlying Executor, and which will use the provided error reporter. |
scala.concurrent.ExecutionContextExecutorService |
fromExecutorService(java.util.concurrent.ExecutorService executorService)
Returns a new ExecutionContextExecutorService which will delegate execution to the underlying ExecutorService, and which will use the default error reporter. |
scala.concurrent.ExecutionContextExecutorService |
fromExecutorService(java.util.concurrent.ExecutorService executorService,
Procedure<java.lang.Throwable> errorReporter)
Returns a new ExecutionContextExecutorService which will delegate execution to the underlying ExecutorService, and which will use the provided error reporter. |
scala.concurrent.ExecutionContextExecutor |
global()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ExecutionContexts$ MODULE$
| Constructor Detail |
|---|
public ExecutionContexts$()
| Method Detail |
|---|
public scala.concurrent.ExecutionContextExecutor fromExecutor(java.util.concurrent.Executor executor)
executor - the Executor which will be used for the ExecutionContext
public scala.concurrent.ExecutionContextExecutor fromExecutor(java.util.concurrent.Executor executor,
Procedure<java.lang.Throwable> errorReporter)
executor - the Executor which will be used for the ExecutionContexterrorReporter - a Procedure that will log any exceptions passed to it
public scala.concurrent.ExecutionContextExecutorService fromExecutorService(java.util.concurrent.ExecutorService executorService)
executor - the ExecutorService which will be used for the ExecutionContextexecutorService - (undocumented)
public scala.concurrent.ExecutionContextExecutorService fromExecutorService(java.util.concurrent.ExecutorService executorService,
Procedure<java.lang.Throwable> errorReporter)
executor - the ExecutorService which will be used for the ExecutionContexterrorReporter - a Procedure that will log any exceptions passed to itexecutorService - (undocumented)
public scala.concurrent.ExecutionContextExecutor global()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||