class ThreadPoolExecutor extends AbstractExecutorService
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ThreadPoolExecutor
- AbstractExecutorService
- ExecutorService
- AutoCloseable
- Executor
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ThreadPoolExecutor(corePoolSize: Int, maximumPoolSize: Int, keepAliveTime: Long, unit: TimeUnit, workQueue: BlockingQueue[Runnable], handler: RejectedExecutionHandler)
- new ThreadPoolExecutor(corePoolSize: Int, maximumPoolSize: Int, keepAliveTime: Long, unit: TimeUnit, workQueue: BlockingQueue[Runnable], threadFactory: ThreadFactory)
- new ThreadPoolExecutor(corePoolSize: Int, maximumPoolSize: Int, keepAliveTime: Long, unit: TimeUnit, workQueue: BlockingQueue[Runnable])
- new ThreadPoolExecutor(corePoolSize: Int, maximumPoolSize: Int, keepAliveTime: Long, unit: TimeUnit, workQueue: BlockingQueue[Runnable], threadFactory: ThreadFactory, handler: RejectedExecutionHandler)
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
- def afterExecute(r: Runnable, t: Throwable): Unit
- Attributes
- protected
- def allowCoreThreadTimeOut(value: Boolean): Unit
- def allowsCoreThreadTimeOut(): Boolean
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def awaitTermination(timeout: Long, unit: TimeUnit): Boolean
- Definition Classes
- ThreadPoolExecutor → ExecutorService
- Annotations
- @throws(scala.this.throws.<init>$default$1[InterruptedException])
- def beforeExecute(t: Thread, r: Runnable): Unit
- Attributes
- protected
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def close(): Unit
- Definition Classes
- ExecutorService → AutoCloseable
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def execute(command: Runnable): Unit
- Definition Classes
- ThreadPoolExecutor → Executor
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getActiveCount(): Int
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCompletedTaskCount(): Long
- def getCorePoolSize(): Int
- def getKeepAliveTime(unit: TimeUnit): Long
- def getLargestPoolSize(): Int
- def getMaximumPoolSize(): Int
- def getPoolSize(): Int
- def getQueue(): BlockingQueue[Runnable]
- def getRejectedExecutionHandler(): RejectedExecutionHandler
- def getTaskCount(): Long
- def getThreadFactory(): ThreadFactory
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def invokeAll[T <: AnyRef](tasks: Collection[_ <: Callable[T]], timeout: Long, unit: TimeUnit): List[Future[T]]
- Definition Classes
- AbstractExecutorService → ExecutorService
- Annotations
- @throws(scala.this.throws.<init>$default$1[InterruptedException])
- def invokeAll[T <: AnyRef](tasks: Collection[_ <: Callable[T]]): List[Future[T]]
- Definition Classes
- AbstractExecutorService → ExecutorService
- Annotations
- @throws(scala.this.throws.<init>$default$1[InterruptedException])
- def invokeAny[T <: AnyRef](tasks: Collection[_ <: Callable[T]], timeout: Long, unit: TimeUnit): T
- Definition Classes
- AbstractExecutorService → ExecutorService
- Annotations
- @throws(scala.this.throws.<init>$default$1[InterruptedException]) @throws(scala.this.throws.<init>$default$1[java.util.concurrent.ExecutionException]) @throws(scala.this.throws.<init>$default$1[java.util.concurrent.TimeoutException])
- def invokeAny[T <: AnyRef](tasks: Collection[_ <: Callable[T]]): T
- Definition Classes
- AbstractExecutorService → ExecutorService
- Annotations
- @throws(scala.this.throws.<init>$default$1[InterruptedException]) @throws(scala.this.throws.<init>$default$1[java.util.concurrent.ExecutionException])
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isShutdown(): Boolean
- Definition Classes
- ThreadPoolExecutor → ExecutorService
- def isTerminated(): Boolean
- Definition Classes
- ThreadPoolExecutor → ExecutorService
- def isTerminating(): Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newTaskFor[T <: AnyRef](callable: Callable[T]): RunnableFuture[T]
- Attributes
- protected[concurrent]
- Definition Classes
- AbstractExecutorService
- def newTaskFor[T <: AnyRef](runnable: Runnable, value: T): RunnableFuture[T]
- Attributes
- protected[concurrent]
- Definition Classes
- AbstractExecutorService
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def prestartAllCoreThreads(): Int
- def prestartCoreThread(): Boolean
- def purge(): Unit
- def remove(task: Runnable): Boolean
- def setCorePoolSize(corePoolSize: Int): Unit
- def setKeepAliveTime(time: Long, unit: TimeUnit): Unit
- def setMaximumPoolSize(maximumPoolSize: Int): Unit
- def setRejectedExecutionHandler(handler: RejectedExecutionHandler): Unit
- def setThreadFactory(threadFactory: ThreadFactory): Unit
- def shutdown(): Unit
- Definition Classes
- ThreadPoolExecutor → ExecutorService
- def shutdownNow(): List[Runnable]
- Definition Classes
- ThreadPoolExecutor → ExecutorService
- def submit[T <: AnyRef](task: Callable[T]): Future[T]
- Definition Classes
- AbstractExecutorService → ExecutorService
- Annotations
- @throws(scala.this.throws.<init>$default$1[NullPointerException]) @throws(scala.this.throws.<init>$default$1[RejectedExecutionException])
- def submit[T <: AnyRef](task: Runnable, result: T): Future[T]
- Definition Classes
- AbstractExecutorService → ExecutorService
- Annotations
- @throws(scala.this.throws.<init>$default$1[NullPointerException]) @throws(scala.this.throws.<init>$default$1[RejectedExecutionException])
- def submit(task: Runnable): Future[_]
- Definition Classes
- AbstractExecutorService → ExecutorService
- Annotations
- @throws(scala.this.throws.<init>$default$1[NullPointerException]) @throws(scala.this.throws.<init>$default$1[RejectedExecutionException])
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def terminated(): Unit
- Attributes
- protected
- def toString(): String
- Definition Classes
- ThreadPoolExecutor → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()