net.liftweb.actor

LAFuture

object LAFuture extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. LAFuture
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  6. def apply [T] (f: () ⇒ T, scheduler: LAScheduler): LAFuture[T]

    Create an LAFuture from a function that will be applied on a separate thread.

    Create an LAFuture from a function that will be applied on a separate thread. The LAFuture is returned immediately and the value may be obtained by calling get

    T

    the type

    f

    the function that computes the value of the future

    returns

    an LAFuture that will yield its value when the value has been computed

  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def build [T] (f: ⇒ T, scheduler: LAScheduler): LAFuture[T]

    Build a new future with a call-by-name value that returns a type T

    Build a new future with a call-by-name value that returns a type T

    T

    the type that @return

    f

    the call-by-name code the defines the future

  9. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def collect [T] (future: LAFuture[T]*): LAFuture[List[T]]

    Collect all the future values into the aggregate future The returned future will be satisfied when all the collected futures are satisfied

  11. def collectAll [T] (future: LAFuture[Box[T]]*): LAFuture[Box[List[T]]]

    Collect all the future values into the aggregate future The returned future will be satisfied when all the collected futures are satisfied or if any of the futures is Empty, then immediately satisfy the returned future with an Empty

  12. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  13. def equals (arg0: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  16. def hashCode (): Int

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  19. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  20. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  21. def observeCreation [T] (observation: (net.liftweb.actor.LAFuture[_]) ⇒ Unit)(toDo: ⇒ T): T

    Do something when a future is created on this thread.

    Do something when a future is created on this thread. This can be used to see if there's any Future activity on a thread and if there is, we can do smart things on an observing thread.

    T

    the type of the value returned by toDo

    observation

    the function to execute on Future creation

    toDo

    the action call-by-name code to execute whi

    returns

    the value computed by toDo

  22. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  23. def toString (): String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any