net.liftweb.actor

LAFuture

class LAFuture [T] extends AnyRef

A container that contains a calculated value or may contain one in the future

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

Instance Constructors

  1. new LAFuture ()

  2. new LAFuture (scheduler: LAScheduler)

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 abort (): Unit

    Abort the future.

    Abort the future. It can never be satified

  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def complete (value: Box[T]): Unit

    Complete the Future.

    Complete the Future... with a Box... useful from Helpers.tryo

    value

  10. def complete_? : Boolean

    Has the future completed?

  11. def eq (arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  13. def fail (e: Box[Nothing]): Unit

    If the execution fails as a Box[Nothing], do this

    If the execution fails as a Box[Nothing], do this

    e

  14. def fail (e: Exception): Unit

    If the execution fails, do this

    If the execution fails, do this

    e

  15. def filter (f: (T) ⇒ Boolean): LAFuture[T]

  16. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. def flatMap [A] (f: (T) ⇒ LAFuture[A]): LAFuture[A]

  18. def foreach (f: (T) ⇒ Unit): Unit

    Execute the function with the value.

    Execute the function with the value. If the value has not been satisfied, execute the function when the value is satified

  19. def get (timeout: Long): Box[T]

    Get the future value or if the value is not satisfied after the timeout period, return an Empty

  20. def get : T

    Get the future value 2.

    Get the future value 2.9.2 gives a compiler error if we try to use the tailrec annotation Once we drop 2.9.x, enable the annotation again

    Attributes
    final
  21. def getClass (): java.lang.Class[_]

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

    Definition Classes
    AnyRef → Any
  23. def isAborted : Boolean

    Has the future been aborted

  24. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  25. def isSatisfied : Boolean

    Has the future been satisfied

  26. def map [A] (f: (T) ⇒ A): LAFuture[A]

    Map the future over a function

    Map the future over a function

    A

    the type that the function returns

    f

    the function to apply to the future

    returns

    a Future that represents the function applied to the value of the future

  27. def ne (arg0: AnyRef): Boolean

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  30. def onComplete (f: (Box[T]) ⇒ Unit): Unit

    A function to execute on completion of the Future, success or failure

    A function to execute on completion of the Future, success or failure

    f

    the function to execute on completion of the Future

  31. def onFail (f: (Box[Nothing]) ⇒ Unit): Unit

    Execute a function on failure

    Execute a function on failure

    f

    the function to execute. Will receive a Box[Nothing] which may be a Failure if there's exception data

  32. def onSuccess (f: (T) ⇒ Unit): Unit

    Execute the function on success of the future

    Execute the function on success of the future

    f

    the function to execute on success.

  33. def satisfy (value: T): Unit

    Satify the future.

    Satify the future... perform the calculation the results in setting a value for the future

  34. val scheduler : LAScheduler

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

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

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  40. def withFilter (f: (T) ⇒ Boolean): LAFuture[T]

Inherited from AnyRef

Inherited from Any