c

com.digitalasset.canton.concurrent

ThreadPoolIdlenessExecutorService

class ThreadPoolIdlenessExecutorService extends ExecutorServiceDelegate with ExecutionContextIdlenessExecutorService

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ThreadPoolIdlenessExecutorService
  2. ExecutionContextIdlenessExecutorService
  3. IdlenessExecutorService
  4. ExecutorServiceDelegate
  5. ExecutionContextExecutorService
  6. ExecutorService
  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 ThreadPoolIdlenessExecutorService(pool: ThreadPoolExecutor, reporter: (Throwable) => Unit, name: String)

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 awaitIdleness(timeout: FiniteDuration): Boolean

    Waits until all threads in the executor service are idle.

    Waits until all threads in the executor service are idle. The current thread may help in processing submitted tasks. The method may be conservative: it can return false even if all threads are idle at the end of the duration.

    timeout

    The maximum time to wait. This time may be exceeded up to the run-time of the longest running task in the pool.

    returns

    true if all threads are idle; false if the timeout elapsed

    Definition Classes
    IdlenessExecutorService
    Annotations
    @SuppressWarnings()
  6. def awaitIdlenessOnce(timeout: FiniteDuration): Boolean
    Attributes
    protected[concurrent]
    Definition Classes
    ThreadPoolIdlenessExecutorServiceIdlenessExecutorService
  7. def awaitTermination(timeout: Long, unit: TimeUnit): Boolean
    Definition Classes
    ExecutorServiceDelegate → ExecutorService
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def execute(command: Runnable): Unit
    Definition Classes
    ExecutorServiceDelegate → Executor → ExecutionContext
  12. val executorService: ExecutorService
    Definition Classes
    ExecutorServiceDelegate
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def invokeAll[T](tasks: Collection[_ <: Callable[T]], timeout: Long, unit: TimeUnit): List[Future[T]]
    Definition Classes
    ExecutorServiceDelegate → ExecutorService
  16. def invokeAll[T](tasks: Collection[_ <: Callable[T]]): List[Future[T]]
    Definition Classes
    ExecutorServiceDelegate → ExecutorService
  17. def invokeAny[T](tasks: Collection[_ <: Callable[T]], timeout: Long, unit: TimeUnit): T
    Definition Classes
    ExecutorServiceDelegate → ExecutorService
  18. def invokeAny[T](tasks: Collection[_ <: Callable[T]]): T
    Definition Classes
    ExecutorServiceDelegate → ExecutorService
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isShutdown(): Boolean
    Definition Classes
    ExecutorServiceDelegate → ExecutorService
  21. def isTerminated(): Boolean
    Definition Classes
    ExecutorServiceDelegate → ExecutorService
  22. val name: String
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def queueSize: Int

    Return the thread pool's queue size.

    Return the thread pool's queue size.

    Definition Classes
    ThreadPoolIdlenessExecutorServiceIdlenessExecutorService
  27. def reportFailure(cause: Throwable): Unit
    Definition Classes
    ThreadPoolIdlenessExecutorService → ExecutionContext
  28. def shutdown(): Unit
    Definition Classes
    ExecutorServiceDelegate → ExecutorService
  29. def shutdownNow(): List[Runnable]
    Definition Classes
    ExecutorServiceDelegate → ExecutorService
  30. def submit(task: Runnable): Future[_]
    Definition Classes
    ExecutorServiceDelegate → ExecutorService
  31. def submit[T](task: Runnable, result: T): Future[T]
    Definition Classes
    ExecutorServiceDelegate → ExecutorService
  32. def submit[T](task: Callable[T]): Future[T]
    Definition Classes
    ExecutorServiceDelegate → ExecutorService
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. 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 ExecutorService

Inherited from Executor

Inherited from ExecutionContext

Inherited from AnyRef

Inherited from Any

Ungrouped