class SupervisedPromise[T] extends Promise[T]
Promise that will log a message after logAfter if it has not been completed.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SupervisedPromise
- Promise
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SupervisedPromise(description: String, futureSupervisor: FutureSupervisor, logAfter: Duration = 10.seconds, logLevel: Level = Level.DEBUG)(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() @IntrinsicCandidate()
- def complete(result: Try[T]): SupervisedPromise.this.type
- Definition Classes
- Promise
- def completeWith(other: Future[T]): SupervisedPromise.this.type
- Definition Classes
- Promise
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def failure(cause: Throwable): SupervisedPromise.this.type
- Definition Classes
- Promise
- def future: Future[T]
- Definition Classes
- SupervisedPromise → Promise
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def isCompleted: Boolean
- Definition Classes
- SupervisedPromise → Promise
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def success(value: T): SupervisedPromise.this.type
- Definition Classes
- Promise
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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
- 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.