trait IdlenessExecutorService extends ExecutorService
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- IdlenessExecutorService
- ExecutorService
- Executor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def awaitIdlenessOnce(timeout: FiniteDuration): Boolean
- Attributes
- protected[concurrent]
- abstract def awaitTermination(arg0: Long, arg1: TimeUnit): Boolean
- Definition Classes
- ExecutorService
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- abstract def execute(arg0: Runnable): Unit
- Definition Classes
- Executor
- abstract def invokeAll[T <: AnyRef](arg0: Collection[_ <: Callable[T]], arg1: Long, arg2: TimeUnit): List[Future[T]]
- Definition Classes
- ExecutorService
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- abstract def invokeAll[T <: AnyRef](arg0: Collection[_ <: Callable[T]]): List[Future[T]]
- Definition Classes
- ExecutorService
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- abstract def invokeAny[T <: AnyRef](arg0: Collection[_ <: Callable[T]], arg1: Long, arg2: TimeUnit): T
- Definition Classes
- ExecutorService
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.util.concurrent.ExecutionException]) @throws(classOf[java.util.concurrent.TimeoutException])
- abstract def invokeAny[T <: AnyRef](arg0: Collection[_ <: Callable[T]]): T
- Definition Classes
- ExecutorService
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @throws(classOf[java.util.concurrent.ExecutionException])
- abstract def isShutdown(): Boolean
- Definition Classes
- ExecutorService
- abstract def isTerminated(): Boolean
- Definition Classes
- ExecutorService
- abstract def shutdown(): Unit
- Definition Classes
- ExecutorService
- abstract def shutdownNow(): List[Runnable]
- Definition Classes
- ExecutorService
- abstract def submit(arg0: Runnable): Future[_ <: AnyRef]
- Definition Classes
- ExecutorService
- abstract def submit[T <: AnyRef](arg0: Runnable, arg1: T): Future[T]
- Definition Classes
- ExecutorService
- abstract def submit[T <: AnyRef](arg0: Callable[T]): Future[T]
- Definition Classes
- ExecutorService
Concrete 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 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
- Annotations
- @SuppressWarnings()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])