c

com.digitalasset.canton.concurrent

DirectExecutionContext

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.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DirectExecutionContext
  2. Serializable
  3. Product
  4. Equals
  5. BatchingExecutorCanton
  6. BatchingExecutor
  7. ExecutionContextExecutor
  8. Executor
  9. ExecutionContext
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DirectExecutionContext(logger: TracedLogger)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def execute(runnable: Runnable): Unit
    Definition Classes
    DirectExecutionContext → Executor → ExecutionContext
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. val logger: TracedLogger
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def productElementNames: Iterator[String]
    Definition Classes
    Product
  15. def reportFailure(cause: Throwable): Unit
    Definition Classes
    DirectExecutionContext → BatchingExecutor → ExecutionContext
  16. final def submitAsyncBatched(runnable: Runnable): Unit
    Attributes
    protected
    Definition Classes
    BatchingExecutor
  17. def submitForExecution(runnable: Runnable): Unit
    Definition Classes
    DirectExecutionContext → BatchingExecutor
  18. final def submitSyncBatched(runnable: Runnable): Unit
    Attributes
    protected
    Definition Classes
    BatchingExecutor
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. def prepare(): ExecutionContext
    Definition Classes
    ExecutionContext
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) preparation of ExecutionContexts will be removed

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BatchingExecutorCanton

Inherited from BatchingExecutor

Inherited from Executor

Inherited from ExecutionContext

Inherited from AnyRef

Inherited from Any

Ungrouped