case class DirectExecutionContext(logger: TracedLogger) extends ExecutionContextExecutor with BatchingExecutorCanton with Product with Serializable
A light-weight execution context that runs tasks on the thread calling execute
.
Only use this for running tasks that will terminate very quickly.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DirectExecutionContext
- Serializable
- Product
- Equals
- BatchingExecutorCanton
- BatchingExecutor
- ExecutionContextExecutor
- Executor
- ExecutionContext
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DirectExecutionContext(logger: TracedLogger)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def execute(runnable: Runnable): Unit
- Definition Classes
- DirectExecutionContext → Executor → ExecutionContext
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logger: TracedLogger
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def reportFailure(cause: Throwable): Unit
- Definition Classes
- DirectExecutionContext → BatchingExecutor → ExecutionContext
- final def submitAsyncBatched(runnable: Runnable): Unit
- Attributes
- protected
- Definition Classes
- BatchingExecutor
- def submitForExecution(runnable: Runnable): Unit
- Definition Classes
- DirectExecutionContext → BatchingExecutor
- final def submitSyncBatched(runnable: Runnable): Unit
- Attributes
- protected
- Definition Classes
- BatchingExecutor
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- def prepare(): ExecutionContext
- Definition Classes
- ExecutionContext
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.0) preparation of ExecutionContexts will be removed