Scala Library
|
|
scala/concurrent/ThreadPoolRunner.scala
]
trait
ThreadPoolRunner[T]
extends
TaskRunner[T]ThreadPoolRunner
trait...Type Summary | |
type
|
Future |
Method Summary | |
def
|
execute (task : java.lang.Runnable) : Unit |
protected abstract def
|
executor : java.util.concurrent.ExecutorService |
def
|
managedBlock (blocker : ManagedBlocker) : Unit |
def
|
submit (task : () => T) : RichFuture[T] |
Methods inherited from TaskRunner | |
shutdown (abstract), !!, tryCatch |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Class Summary | |
trait
|
RichFuture
[+S] extends java.util.concurrent.Future[S] with () => S
|
Type Details |
Method Details |
protected abstract
def
executor : java.util.concurrent.ExecutorService
def
submit(task : () => T) : RichFuture[T]
def
execute(task : java.lang.Runnable) : Unit
def
managedBlock(blocker : ManagedBlocker) : Unit
Scala Library
|
|