Trait

com.linkedin.playparseq.s

PlayParSeq

Related Doc: package s

Permalink

trait PlayParSeq extends AnyRef

The trait PlayParSeq defines the conversions from a function () => Future[T] to a ParSeq Task[T], and also the execution of a ParSeq Task[T] which returns a Future[T], in the mean time putting Tasks into store. Note that, in general you shouldn't be running multiple ParSeq Tasks, otherwise the order of execution might not be accurate, which minimizes the benefits of ParSeq.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PlayParSeq
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def runTask[T](task: Task[T])(implicit requestHeader: RequestHeader): Future[T]

    Permalink

    The method runTask executes a ParSeq Task[T] then generates a Future[T], and puts into the store.

    The method runTask executes a ParSeq Task[T] then generates a Future[T], and puts into the store.

    T

    The type parameter of the ParSeq Task and the Future

    task

    The ParSeq Task

    requestHeader

    The request

    returns

    The Future

  2. abstract def toTask[T](f: () ⇒ Future[T]): Task[T]

    Permalink

    The method toTask converts a function () => Future[T] to a ParSeq Task[T], which binds with a default name.

    The method toTask converts a function () => Future[T] to a ParSeq Task[T], which binds with a default name.

    T

    The type parameter of the Future and the ParSeq Task

    f

    The function which returns a Future

    returns

    The ParSeq Task

  3. abstract def toTask[T](name: String, f: () ⇒ Future[T]): Task[T]

    Permalink

    The method toTask converts a function () => Future[T] to a ParSeq Task[T].

    The method toTask converts a function () => Future[T] to a ParSeq Task[T].

    T

    The type parameter of the Future and the ParSeq Task

    name

    The String which describes the Task and shows up in a trace

    f

    The function which returns a Future

    returns

    The ParSeq Task

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped