colossus.service

MappedCallback

case class MappedCallback[I, O](trigger: ((Try[I]) ⇒ Unit) ⇒ Unit, handler: (Try[I]) ⇒ Try[O]) extends Callback[O] with Product with Serializable

A Callback that has been mapped on. See the docs for Callback for more information

Linear Supertypes
Serializable, Serializable, Product, Equals, Callback[O], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MappedCallback
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Callback
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MappedCallback(trigger: ((Try[I]) ⇒ Unit) ⇒ Unit, handler: (Try[I]) ⇒ Try[O])

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

    Definition Classes
    AnyRef
  9. def execute(onComplete: (Try[O]) ⇒ Unit = _ => ()): Unit

    Definition Classes
    MappedCallbackCallback
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def flatMap[U](f: (O) ⇒ Callback[U]): Callback[U]

    Definition Classes
    MappedCallbackCallback
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. val handler: (Try[I]) ⇒ Try[O]

  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. def map[U](f: (O) ⇒ U): Callback[U]

    Definition Classes
    MappedCallbackCallback
  16. def mapTry[U](f: (Try[O]) ⇒ Try[U]): Callback[U]

    Definition Classes
    MappedCallbackCallback
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  20. def recover[U >: O](p: PartialFunction[Throwable, U]): Callback[U]

    Definition Classes
    MappedCallbackCallback
  21. def recoverWith[U >: O](p: PartialFunction[Throwable, Callback[U]]): Callback[U]

    Definition Classes
    MappedCallbackCallback
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toFuture(implicit ex: ExecutionContext): Future[O]

    Hook a future into the callback and execute the caller.

    Hook a future into the callback and execute the caller. Use this if you need to hand a callback to something out-of-thread

    Definition Classes
    Callback
  24. val trigger: ((Try[I]) ⇒ Unit) ⇒ Unit

  25. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def withFilter(f: (O) ⇒ Boolean): Callback[O]

    Definition Classes
    Callback
  29. def zip[B, C](b: Callback[B], c: Callback[C]): Callback[(O, B, C)]

    Definition Classes
    Callback
  30. def zip[B](b: Callback[B]): Callback[(O, B)]

    Definition Classes
    Callback

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Callback[O]

Inherited from AnyRef

Inherited from Any

Ungrouped