c

com.digitalasset.canton.concurrent

ForkJoinIdlenessExecutorService

class ForkJoinIdlenessExecutorService extends ExecutionContextIdlenessExecutorService

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ForkJoinIdlenessExecutorService
  2. ExecutionContextIdlenessExecutorService
  3. ExecutionContextExecutorService
  4. ExecutionContextExecutor
  5. ExecutionContext
  6. IdlenessExecutorService
  7. QueueAwareExecutorService
  8. NamedExecutor
  9. QueueAwareExecutor
  10. ExecutorService
  11. AutoCloseable
  12. Executor
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ForkJoinIdlenessExecutorService(pool: ForkJoinPool, delegate: ExecutorService, reporter: (Throwable) => Unit, name: String)

Type Members

  1. class TrackingCallable[T] extends Callable[T]
    Definition Classes
    QueueAwareExecutorService
  2. class TrackingRunnable extends Runnable
    Definition Classes
    QueueAwareExecutorService

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
    ForkJoinIdlenessExecutorServiceIdlenessExecutorService
  7. def awaitTermination(l: Long, timeUnit: TimeUnit): Boolean
    Definition Classes
    QueueAwareExecutorService → ExecutorService
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. def close(): Unit
    Definition Classes
    ExecutorService → AutoCloseable
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def execute(runnable: Runnable): Unit
    Definition Classes
    QueueAwareExecutorService → Executor
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  14. def getQueueSize: Long
    Definition Classes
    QueueAwareExecutorService
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  16. def invokeAll[T](collection: Collection[_ <: Callable[T]], l: Long, timeUnit: TimeUnit): List[Future[T]]
    Definition Classes
    QueueAwareExecutorService → ExecutorService
  17. def invokeAll[T](collection: Collection[_ <: Callable[T]]): List[Future[T]]
    Definition Classes
    QueueAwareExecutorService → ExecutorService
  18. def invokeAny[T](collection: Collection[_ <: Callable[T]], l: Long, timeUnit: TimeUnit): T
    Definition Classes
    QueueAwareExecutorService → ExecutorService
  19. def invokeAny[T](collection: Collection[_ <: Callable[T]]): T
    Definition Classes
    QueueAwareExecutorService → ExecutorService
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isShutdown(): Boolean
    Definition Classes
    QueueAwareExecutorService → ExecutorService
  22. def isTerminated(): Boolean
    Definition Classes
    QueueAwareExecutorService → ExecutorService
  23. val name: String
    Definition Classes
    QueueAwareExecutorService → NamedExecutor
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  27. def queueSize: Long
    Definition Classes
    QueueAwareExecutorService → QueueAwareExecutor
  28. def reportFailure(cause: Throwable): Unit
    Definition Classes
    ForkJoinIdlenessExecutorService → ExecutionContext
  29. def shutdown(): Unit
    Definition Classes
    QueueAwareExecutorService → ExecutorService
  30. def shutdownNow(): List[Runnable]
    Definition Classes
    QueueAwareExecutorService → ExecutorService
  31. def submit(runnable: Runnable): Future[_]
    Definition Classes
    QueueAwareExecutorService → ExecutorService
  32. def submit[T](runnable: Runnable, t: T): Future[T]
    Definition Classes
    QueueAwareExecutorService → ExecutorService
  33. def submit[T](callable: Callable[T]): Future[T]
    Definition Classes
    QueueAwareExecutorService → ExecutorService
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    ForkJoinIdlenessExecutorService → AnyRef → Any
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. 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

    (Since version 9)

  2. def prepare(): ExecutionContext
    Definition Classes
    ExecutionContext
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.0) preparation of ExecutionContexts will be removed

Inherited from ExecutionContext

Inherited from NamedExecutor

Inherited from QueueAwareExecutor

Inherited from ExecutorService

Inherited from AutoCloseable

Inherited from Executor

Inherited from AnyRef

Inherited from Any

Ungrouped