class P[T] extends DefaultPromise[T] with BiConsumer[T, Throwable]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- P
- BiConsumer
- DefaultPromise
- Function1
- Future
- Awaitable
- Promise
- AtomicReference
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new P(wrapped: CompletionStage[T])
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
- def accept(v: T, e: Throwable): Unit
- Definition Classes
- P → BiConsumer
- final def accumulateAndGet(arg0: AnyRef, arg1: BinaryOperator[AnyRef]): AnyRef
- Definition Classes
- AtomicReference
- def andThen(arg0: BiConsumer[_ >: T <: AnyRef, _ >: Throwable <: AnyRef]): BiConsumer[T, Throwable]
- Definition Classes
- BiConsumer
- def andThen[A](g: (Unit) => A): (Try[T]) => A
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- def andThen[U](pf: PartialFunction[Try[T], U])(implicit executor: ExecutionContext): Future[T]
- Definition Classes
- Future
- final def apply(resolved: Try[T]): Unit
- Definition Classes
- DefaultPromise → Function1
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def collect[S](pf: PartialFunction[T, S])(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- DefaultPromise → Future
- final def compareAndSet(arg0: AnyRef, arg1: AnyRef): Boolean
- Definition Classes
- AtomicReference
- def complete(result: Try[T]): P.this.type
- Definition Classes
- Promise
- final def completeWith(other: Future[T]): P.this.type
- Definition Classes
- DefaultPromise → Promise
- def compose[A](g: (A) => Try[T]): (A) => Unit
- Definition Classes
- Function1
- Annotations
- @unspecialized()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def failed: Future[Throwable]
- Definition Classes
- DefaultPromise → Future
- def failure(cause: Throwable): P.this.type
- Definition Classes
- Promise
- def fallbackTo[U >: T](that: Future[U]): Future[U]
- Definition Classes
- Future
- final def filter(p: (T) => Boolean)(implicit executor: ExecutionContext): Future[T]
- Definition Classes
- DefaultPromise → Future
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def flatMap[S](f: (T) => Future[S])(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- DefaultPromise → Future
- def flatten[S](implicit ev: <:<[T, Future[S]]): Future[S]
- Definition Classes
- Future
- final def foreach[U](f: (T) => U)(implicit executor: ExecutionContext): Unit
- Definition Classes
- DefaultPromise → Future
- final def future: Future[T]
- Definition Classes
- DefaultPromise → Promise
- final def get(): AnyRef
- Definition Classes
- AtomicReference
- final def getAndAccumulate(arg0: AnyRef, arg1: BinaryOperator[AnyRef]): AnyRef
- Definition Classes
- AtomicReference
- final def getAndSet(arg0: AnyRef): AnyRef
- Definition Classes
- AtomicReference
- final def getAndUpdate(arg0: UnaryOperator[AnyRef]): AnyRef
- Definition Classes
- AtomicReference
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isCompleted: Boolean
- Definition Classes
- DefaultPromise → Future → Promise
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def lazySet(arg0: AnyRef): Unit
- Definition Classes
- AtomicReference
- final def map[S](f: (T) => S)(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- DefaultPromise → Future
- final def mapTo[S](implicit tag: ClassTag[S]): Future[S]
- Definition Classes
- DefaultPromise → Future
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def onComplete[U](func: (Try[T]) => U)(implicit executor: ExecutionContext): Unit
- Definition Classes
- DefaultPromise → Future
- final def ready(atMost: Duration)(implicit permit: CanAwait): P.this.type
- Definition Classes
- DefaultPromise → Awaitable
- Annotations
- @throws(classOf[java.util.concurrent.TimeoutException]) @throws(classOf[java.lang.InterruptedException])
- final def recover[U >: T](pf: PartialFunction[Throwable, U])(implicit executor: ExecutionContext): Future[U]
- Definition Classes
- DefaultPromise → Future
- final def recoverWith[U >: T](pf: PartialFunction[Throwable, Future[U]])(implicit executor: ExecutionContext): Future[U]
- Definition Classes
- DefaultPromise → Future
- final def result(atMost: Duration)(implicit permit: CanAwait): T
- Definition Classes
- DefaultPromise → Awaitable
- Annotations
- @throws(classOf[java.lang.Exception])
- final def set(arg0: AnyRef): Unit
- Definition Classes
- AtomicReference
- def success(value: T): P.this.type
- Definition Classes
- Promise
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toString(): String
- Definition Classes
- DefaultPromise → Function1 → AtomicReference → AnyRef → Any
- Annotations
- @tailrec()
- final def transform[S](f: (Try[T]) => Try[S])(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- DefaultPromise → Future
- def transform[S](s: (T) => S, f: (Throwable) => Throwable)(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- Future
- final def transformWith[S](f: (Try[T]) => Future[S])(implicit executor: ExecutionContext): Future[S]
- Definition Classes
- DefaultPromise → Future
- final def tryComplete(value: Try[T]): Boolean
- Definition Classes
- DefaultPromise → Promise
- def tryFailure(cause: Throwable): Boolean
- Definition Classes
- Promise
- def trySuccess(value: T): Boolean
- Definition Classes
- Promise
- final def updateAndGet(arg0: UnaryOperator[AnyRef]): AnyRef
- Definition Classes
- AtomicReference
- final def value: Option[Try[T]]
- Definition Classes
- DefaultPromise → Future
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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 weakCompareAndSet(arg0: AnyRef, arg1: AnyRef): Boolean
- Definition Classes
- AtomicReference
- final def withFilter(p: (T) => Boolean)(implicit executor: ExecutionContext): Future[T]
- Definition Classes
- Future
- val wrapped: CompletionStage[T]
- def zip[U](that: Future[U]): Future[(T, U)]
- Definition Classes
- Future
- final def zipWith[U, R](that: Future[U])(f: (T, U) => R)(implicit executor: ExecutionContext): Future[R]
- Definition Classes
- DefaultPromise → Future