akka.dispatch

OnFailure

abstract class OnFailure extends CallbackBridge[Throwable]

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

Java API

Linear Supertypes
CallbackBridge[Throwable], AbstractPartialFunction[Throwable, BoxedUnit], PartialFunction[Throwable, BoxedUnit], (Throwable) ⇒ BoxedUnit, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OnFailure
  2. CallbackBridge
  3. AbstractPartialFunction
  4. PartialFunction
  5. Function1
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OnFailure()

Abstract Value Members

  1. abstract def onFailure(failure: Throwable): Unit

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

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

    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[Throwable, C]

    Definition Classes
    PartialFunction → Function1
  7. final def apply(t: Throwable): BoxedUnit

    Definition Classes
    CallbackBridge → AbstractPartialFunction → Function1
  8. def applyOrElse[A1 <: Throwable, B1 >: BoxedUnit](x: A1, default: (A1) ⇒ B1): B1

    Definition Classes
    PartialFunction
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def compose[A](g: (A) ⇒ Throwable): (A) ⇒ BoxedUnit

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  17. final def internal(failure: Throwable): Unit

    Attributes
    protected
    Definition Classes
    OnFailureCallbackBridge
  18. final def isDefinedAt(t: Throwable): Boolean

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

    Definition Classes
    Any
  20. def lift: (Throwable) ⇒ Option[BoxedUnit]

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

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

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

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

    Definition Classes
    PartialFunction
  25. def runWith[U](action: (BoxedUnit) ⇒ U): (Throwable) ⇒ Boolean

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

    Definition Classes
    AnyRef
  27. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from CallbackBridge[Throwable]

Inherited from AbstractPartialFunction[Throwable, BoxedUnit]

Inherited from PartialFunction[Throwable, BoxedUnit]

Inherited from (Throwable) ⇒ BoxedUnit

Inherited from AnyRef

Inherited from Any

Ungrouped