scala.concurrent

trait ThreadPoolRunner

[source: scala/concurrent/ThreadPoolRunner.scala]

trait ThreadPoolRunner[T]
extends TaskRunner[T]
The ThreadPoolRunner trait...
Author
Philipp Haller
Direct Known Subclasses:
ExecutorScheduler

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
type Future

Method Details
protected abstract def executor : java.util.concurrent.ExecutorService

def submit(task : () => T) : RichFuture[T]
Overrides
TaskRunner.submit

def execute(task : java.lang.Runnable) : Unit

def managedBlock(blocker : ManagedBlocker) : Unit
Overrides
TaskRunner.managedBlock