akka.dispatch

OnComplete

abstract class OnComplete[-T] extends CallbackBridge[Either[Throwable, T]]

Callback for when a Future is completed with either failure or a success SAM (Single Abstract Method) class

Java API

Linear Supertypes
CallbackBridge[Either[Throwable, T]], PartialFunction[Either[Throwable, T], BoxedUnit], (Either[Throwable, T]) ⇒ BoxedUnit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. OnComplete
  2. CallbackBridge
  3. PartialFunction
  4. Function1
  5. AnyRef
  6. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OnComplete()

Abstract Value Members

  1. abstract def onComplete(failure: Throwable, success: T): Unit

    This method will be invoked once when/if a Future that this callback is registered on becomes completed with a failure or a success.

    This method will be invoked once when/if a Future that this callback is registered on becomes completed with a failure or a success. In the case of success then "failure" will be null, and in the case of failure the "success" will be null.

    Annotations
    @throws( classOf[Throwable] )

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. def andThen[C](k: (BoxedUnit) ⇒ C): PartialFunction[Either[Throwable, T], C]

    Definition Classes
    PartialFunction → Function1
  7. final def apply(t: Either[Throwable, T]): BoxedUnit

    Definition Classes
    CallbackBridge → Function1
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  10. def compose[A](g: (A) ⇒ Either[Throwable, T]): (A) ⇒ BoxedUnit

    Definition Classes
    Function1
  11. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  16. final def internal(value: Either[Throwable, T]): Unit

    Attributes
    protected
    Definition Classes
    OnCompleteCallbackBridge
  17. final def isDefinedAt(t: Either[Throwable, T]): Boolean

    Definition Classes
    CallbackBridge → PartialFunction
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def lift: (Either[Throwable, T]) ⇒ Option[BoxedUnit]

    Definition Classes
    PartialFunction
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  23. def orElse[A1 <: Either[Throwable, T], B1 >: BoxedUnit](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Definition Classes
    PartialFunction
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from CallbackBridge[Either[Throwable, T]]

Inherited from PartialFunction[Either[Throwable, T], BoxedUnit]

Inherited from (Either[Throwable, T]) ⇒ BoxedUnit

Inherited from AnyRef

Inherited from Any