Class

io.ino.solrs.future.JavaFutureFactory

JavaFuture

Related Doc: package JavaFutureFactory

Permalink

class JavaFuture[T] extends FutureBase[T]

Linear Supertypes
FutureBase[T], Future[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaFuture
  2. FutureBase
  3. Future
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JavaFuture(inner: CompletionStage[T])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def flatMap[S](f: (T) ⇒ Future[S]): Future[S]

    Permalink
    Definition Classes
    JavaFutureFuture
  10. def flatMapSuccess[A, B](p: Promise[B], f: (A) ⇒ Future[B], value: A): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    FutureBase
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def handle[U >: T](pf: PartialFunction[Throwable, U]): Future[U]

    Permalink
    Definition Classes
    JavaFutureFuture
  13. def handleFailure[U >: T](p: Promise[U], pf: PartialFunction[Throwable, U], t: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    FutureBase
  14. def handleWith[U >: T](pf: PartialFunction[Throwable, Future[U]]): Future[U]

    Permalink

    Creates a new future that will handle any matching throwable that this future might contain by assigning it a value of another future.

    Creates a new future that will handle any matching throwable that this future might contain by assigning it a value of another future.

    If there is no match, or if this future contains a valid result then the new future will contain the same result.

    Example:

    val f = future { Int.MaxValue }
    future (6 / 0) handle { case e: ArithmeticException => f } // result: Int.MaxValue

    Like recoverWith from std lib, related to rescue/handle in twitter.

    Definition Classes
    JavaFutureFuture
  15. def handleWithFailure[U >: T](p: Promise[U], pf: PartialFunction[Throwable, Future[U]], t: Throwable): Any

    Permalink
    Attributes
    protected
    Definition Classes
    FutureBase
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def map[S](f: (T) ⇒ S): Future[S]

    Permalink
    Definition Classes
    JavaFutureFuture
  19. def mapSuccess[A, B](promise: Promise[B], f: (A) ⇒ B, value: A): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    FutureBase
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def onComplete[U](func: (Try[T]) ⇒ U): Unit

    Permalink
    Definition Classes
    JavaFutureFuture
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FutureBase[T]

Inherited from Future[T]

Inherited from AnyRef

Inherited from Any

Ungrouped