scala.concurrent

ThreadPoolRunner

trait ThreadPoolRunner extends FutureTaskRunner

The ThreadPoolRunner trait uses a java . util.concurrent.ExecutorService to run submitted tasks.

known subclasses: ExecutorScheduler
source: ThreadPoolRunner.scala
    authors:
  1. Philipp Haller

Inherited
  1. Hide All
  2. Show all
  1. FutureTaskRunner
  2. TaskRunner
  3. AnyRef
  4. Any
Visibility
  1. Public
  2. All

Type Members

  1. type Future = Future[T]

  2. type Task = Callable[T] with Runnable

Value Members

  1. def !=(arg0: AnyRef): Boolean

  2. def !=(arg0: Any): Boolean

    o != arg0 is the same as !(o == (arg0)).

  3. def ##(): Int

  4. def $asInstanceOf[T0](): T0

  5. def $isInstanceOf[T0](): Boolean

  6. def ==(arg0: AnyRef): Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

  7. def ==(arg0: Any): Boolean

    o == arg0 is the same as o.equals(arg0).

  8. def asInstanceOf[T0]: T0

    This method is used to cast the receiver object to be of type T0.

  9. def clone(): AnyRef

    This method creates and returns a copy of the receiver object .

  10. def eq(arg0: AnyRef): Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

  11. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

  12. def execute[S](task: Callable[S] with Runnable): Unit

  13. def executor: ExecutorService

  14. def finalize(): Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object .

  15. implicit def functionAsTask[S](fun: () ⇒ S): Callable[S] with Runnable

  16. implicit def futureAsFunction[S](x: Future[S]): () ⇒ S

  17. def getClass(): java.lang.Class[_ <: java.lang.Object]

    Returns a representation that corresponds to the dynamic class of the receiver object .

  18. def hashCode(): Int

    Returns a hash code value for the object .

  19. def isInstanceOf[T0]: Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

  20. def managedBlock(blocker: ManagedBlocker): Unit

  21. def ne(arg0: AnyRef): Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

  22. def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor .

  23. def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor .

  24. def shutdown(): Unit

  25. def submit[S](task: Callable[S] with Runnable): Future[S]

  26. def synchronized[T0](arg0: T0): T0

  27. def toString(): String

    Returns a string representation of the object .

  28. def wait(): Unit

  29. def wait(arg0: Long, arg1: Int): Unit

  30. def wait(arg0: Long): Unit