case class SupervisedPromise[T](description: String, futureSupervisor: FutureSupervisor, logAfter: Duration = 10.seconds)(implicit ecl: ErrorLoggingContext, ec: ExecutionContext) extends Promise[T] with Product with Serializable

Promise that will log a message after logAfter if it has not been completed.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SupervisedPromise
  2. Serializable
  3. Product
  4. Equals
  5. Promise
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SupervisedPromise(description: String, futureSupervisor: FutureSupervisor, logAfter: Duration = 10.seconds)(implicit ecl: ErrorLoggingContext, ec: ExecutionContext)

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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  6. def complete(result: Try[T]): SupervisedPromise.this.type
    Definition Classes
    Promise
  7. def completeWith(other: Future[T]): SupervisedPromise.this.type
    Definition Classes
    Promise
  8. val description: String
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def failure(cause: Throwable): SupervisedPromise.this.type
    Definition Classes
    Promise
  11. def future: Future[T]
    Definition Classes
    SupervisedPromise → Promise
  12. val futureSupervisor: FutureSupervisor
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def isCompleted: Boolean
    Definition Classes
    SupervisedPromise → Promise
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. val logAfter: Duration
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def productElementNames: Iterator[String]
    Definition Classes
    Product
  21. def success(value: T): SupervisedPromise.this.type
    Definition Classes
    Promise
  22. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  23. def tryComplete(result: Try[T]): Boolean
    Definition Classes
    SupervisedPromise → Promise
  24. def tryFailure(cause: Throwable): Boolean
    Definition Classes
    Promise
  25. def trySuccess(value: T): Boolean
    Definition Classes
    Promise
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  2. final def tryCompleteWith(other: Future[T]): SupervisedPromise.this.type
    Definition Classes
    Promise
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Since this method is semantically equivalent to completeWith, use that instead.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Promise[T]

Inherited from AnyRef

Inherited from Any

Ungrouped