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
- Alphabetic
- By Inheritance
Inherited
- SupervisedPromise
- Serializable
- Product
- Equals
- Promise
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SupervisedPromise(description: String, futureSupervisor: FutureSupervisor, logAfter: Duration = 10.seconds)(implicit ecl: ErrorLoggingContext, ec: ExecutionContext)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def complete(result: Try[T]): SupervisedPromise.this.type
- Definition Classes
- Promise
- def completeWith(other: Future[T]): SupervisedPromise.this.type
- Definition Classes
- Promise
- val description: String
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def failure(cause: Throwable): SupervisedPromise.this.type
- Definition Classes
- Promise
- def future: Future[T]
- Definition Classes
- SupervisedPromise → Promise
- val futureSupervisor: FutureSupervisor
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def isCompleted: Boolean
- Definition Classes
- SupervisedPromise → Promise
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logAfter: Duration
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def success(value: T): SupervisedPromise.this.type
- Definition Classes
- Promise
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tryComplete(result: Try[T]): Boolean
- Definition Classes
- SupervisedPromise → Promise
- def tryFailure(cause: Throwable): Boolean
- Definition Classes
- Promise
- def trySuccess(value: T): Boolean
- Definition Classes
- Promise
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
- 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.