io.ino.solrs.future.TwitterFutureFactory

TwitterFuture

class TwitterFuture[+T] extends FutureBase[T]

Linear Supertypes
FutureBase[T], Future[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TwitterFuture
  2. FutureBase
  3. Future
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TwitterFuture(f: com.twitter.util.Future[T])

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    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
    TwitterFutureFuture
  17. def handleWithFailure[U >: T](p: Promise[U], pf: PartialFunction[Throwable, Future[U]], t: Throwable): Any

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

    Definition Classes
    AnyRef → Any
  19. val inner: com.twitter.util.Future[T]

  20. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    TwitterFutureFuture
  22. def mapSuccess[A, B](promise: Promise[B], f: (A) ⇒ B, value: A): Unit

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

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

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

    Definition Classes
    TwitterFutureFuture
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from FutureBase[T]

Inherited from Future[T]

Inherited from AnyRef

Inherited from Any

Ungrouped