final case class Success[+T](value: T) extends Retry[T] with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Retry[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Success
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Retry
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Success(value: T)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. def flatMap[S](f: (T) ⇒ Retry[S]): Retry[S]

    Returns true if the Retry is a Failure otherwise it returns false.

    Returns true if the Retry is a Failure otherwise it returns false.

    Definition Classes
    SuccessRetry
  9. def foreach[X](f: (T) ⇒ X): Unit

    Applies the given function f if this is a Success, otherwise returns Unit if this is a Failure.

    Applies the given function f if this is a Success, otherwise returns Unit if this is a Failure.

    Definition Classes
    SuccessRetry
  10. def get: T

    Returns the computation value in case of a Success.

    Returns the computation value in case of a Success. In case of a Failure it throws the underlying exception.

    Definition Classes
    SuccessRetry
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  12. def getOrElse[U >: T](default: ⇒ U): U

    Returns the computation value in case of a Success.

    Returns the computation value in case of a Success. Otherwise it is returning the provided default.

    Definition Classes
    Retry
  13. def isFailure: Boolean

    Returns true if the Retry is a Failure otherwise it returns false.

    Returns true if the Retry is a Failure otherwise it returns false.

    Definition Classes
    SuccessRetry
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isSuccess: Boolean

    Returns true if the Retry is a Success otherwise it returns false otherwise.

    Returns true if the Retry is a Success otherwise it returns false otherwise.

    Definition Classes
    SuccessRetry
  16. def map[S](f: (T) ⇒ S)(implicit strategy: RetryStrategy): Retry[S]

    Maps the given function to the value from this Success or returns this if this is a Failure.

    Maps the given function to the value from this Success or returns this if this is a Failure.

    Definition Classes
    SuccessRetry
  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[X >: T](f: PartialFunction[Throwable, X]): Retry[X]

    Applies the given function f if this is a Failure, otherwise returns this if this is a Success.

    Applies the given function f if this is a Failure, otherwise returns this if this is a Success.

    Definition Classes
    SuccessRetry
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def transform[X](f: (T) ⇒ X): X

    Transforms the Retry value by applying a transformation function to its underlying value

    Transforms the Retry value by applying a transformation function to its underlying value

    Definition Classes
    SuccessRetry
  23. val value: T
  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( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Retry[T]

Inherited from AnyRef

Inherited from Any

Ungrouped