colossus.service

ConstantCallback

case class ConstantCallback[O](value: Try[O]) extends Callback[O] with Product with Serializable

A Callback containing a constant value, usually created as the result of calling Callback.success or Callback.failure. 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. ConstantCallback
  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 ConstantCallback(value: 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
    ConstantCallbackCallback
  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
    ConstantCallbackCallback
  12. final def getClass(): Class[_]

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

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

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

    Definition Classes
    ConstantCallbackCallback
  16. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    ConstantCallbackCallback
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. 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
  23. val value: Try[O]

  24. final def wait(): Unit

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

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

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

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

    Definition Classes
    Callback
  29. 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