scala.concurrent

ThreadPoolRunner

trait ThreadPoolRunner extends FutureTaskRunner

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

Annotations
@deprecated
Deprecated

(Since version 2.10.0) Use ExecutionContext instead.

Source
ThreadPoolRunner.scala
Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ThreadPoolRunner
  2. FutureTaskRunner
  3. TaskRunner
  4. AnyRef
  5. Any
Implicitly
  1. by StringAdd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Future[T] = java.util.concurrent.Future[T]

    The type of the futures that the underlying task runner supports.

    The type of the futures that the underlying task runner supports.

    Definition Classes
    ThreadPoolRunnerFutureTaskRunner
  2. type Task[T] = Callable[T] with Runnable

    Definition Classes
    ThreadPoolRunnerTaskRunner

Abstract Value Members

  1. abstract def executor: ExecutorService

    Attributes
    protected
  2. abstract def shutdown(): Unit

    Definition Classes
    TaskRunner

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from ThreadPoolRunner to StringAdd[ThreadPoolRunner] performed by method StringAdd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (ThreadPoolRunner, B)

    Implicit information
    This member is added by an implicit conversion from ThreadPoolRunner to ArrowAssoc[ThreadPoolRunner] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def ensuring(cond: (ThreadPoolRunner) ⇒ Boolean, msg: ⇒ Any): ThreadPoolRunner

    Implicit information
    This member is added by an implicit conversion from ThreadPoolRunner to Ensuring[ThreadPoolRunner] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (ThreadPoolRunner) ⇒ Boolean): ThreadPoolRunner

    Implicit information
    This member is added by an implicit conversion from ThreadPoolRunner to Ensuring[ThreadPoolRunner] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): ThreadPoolRunner

    Implicit information
    This member is added by an implicit conversion from ThreadPoolRunner to Ensuring[ThreadPoolRunner] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): ThreadPoolRunner

    Implicit information
    This member is added by an implicit conversion from ThreadPoolRunner to Ensuring[ThreadPoolRunner] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def execute[S](task: Task[S]): Unit

    Definition Classes
    ThreadPoolRunnerTaskRunner
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. def formatted(fmtstr: String): String

    Returns string formatted according to given format string.

    Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

    Implicit information
    This member is added by an implicit conversion from ThreadPoolRunner to StringFormat[ThreadPoolRunner] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. implicit def functionAsTask[S](fun: () ⇒ S): Task[S]

    Definition Classes
    ThreadPoolRunnerTaskRunner
  20. implicit def futureAsFunction[S](x: Future[S]): () ⇒ S

    An implicit conversion from futures to zero-parameter functions.

    An implicit conversion from futures to zero-parameter functions.

    Definition Classes
    ThreadPoolRunnerFutureTaskRunner
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  27. def submit[S](task: Task[S]): Future[S]

    Submits a task to run which returns its result in a future.

    Submits a task to run which returns its result in a future.

    Definition Classes
    ThreadPoolRunnerFutureTaskRunner
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  33. def [B](y: B): (ThreadPoolRunner, B)

    Implicit information
    This member is added by an implicit conversion from ThreadPoolRunner to ArrowAssoc[ThreadPoolRunner] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def managedBlock(blocker: ManagedBlocker): Unit

    Definition Classes
    ThreadPoolRunnerFutureTaskRunner
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use blocking instead.

Inherited from FutureTaskRunner

Inherited from TaskRunner

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringAdd from ThreadPoolRunner to StringAdd[ThreadPoolRunner]

Inherited by implicit conversion StringFormat from ThreadPoolRunner to StringFormat[ThreadPoolRunner]

Inherited by implicit conversion Ensuring from ThreadPoolRunner to Ensuring[ThreadPoolRunner]

Inherited by implicit conversion ArrowAssoc from ThreadPoolRunner to ArrowAssoc[ThreadPoolRunner]

Ungrouped