Packages

object UtilBijections extends UtilBijections

Linear Supertypes
UtilBijections, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UtilBijections
  2. UtilBijections
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. implicit def futureBijection[A, B](implicit bij: ImplicitBijection[A, B]): Bijection[Future[A], Future[B]]

    Bijection on Twitter Future if the bijection throws, the result will be a Throw.

    Bijection on Twitter Future if the bijection throws, the result will be a Throw.

    Definition Classes
    UtilBijections
  10. implicit def futurePoolExecutionContextBijection: Bijection[FuturePool, ExecutionContext]

    Bijection from FuturePool to ExecutionContext

    Bijection from FuturePool to ExecutionContext

    Definition Classes
    UtilBijections
  11. implicit def futureScalaBijection[A, B](implicit bij: ImplicitBijection[A, B], executor: ExecutionContext): Bijection[Future[A], Future[B]]

    Bijection on Scala Future if the bijection throws, the result will be a Throw.

    Bijection on Scala Future if the bijection throws, the result will be a Throw.

    Definition Classes
    UtilBijections
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. implicit def tryBijection[A, B](implicit bij: ImplicitBijection[A, B]): Bijection[Try[A], Try[B]]

    Bijection on Try.

    Bijection on Try. If the bijection throws, the result will be a throw

    Definition Classes
    UtilBijections
  21. implicit def tryScalaBijection[A, B](implicit bij: ImplicitBijection[A, B]): Bijection[Try[A], Try[B]]

    Bijection on scala Try.

    Bijection on scala Try. If the bijection throws, the result will be a throw

    Definition Classes
    UtilBijections
  22. implicit def twitter2CompletableFutureBijection[A]: Bijection[Future[A], CompletableFuture[A]]

    Bijection between java completable futures and twitter futures.

    Bijection between java completable futures and twitter futures.

    Definition Classes
    UtilBijections
  23. implicit def twitter2JavaFutureBijection[A](implicit converter: JavaFutureConverter): Bijection[Future[A], Future[A]]

    Bijection between java futures and twitter futures.

    Bijection between java futures and twitter futures. An implicit JavaFutureConverter is needed, two strategies are available out of the box:

    • FuturePoolJavaFutureConverter which is based on a FuturePool and which will create one thread per future. To favor if there aren't too many futures to convert and one cares about latency.
    • TimerJavaFutureConverter which is based on a com.twitter.util.Timer which will create a task which will check every checkFrequency if the java future is completed, one thread will be used for every conversion. To favor if there are a lot of futures to convert and one cares less about the latency induced by checkFrequency.
    Definition Classes
    UtilBijections
  24. def twitter2JavaFutureInjection[A]: Injection[Future[A], Future[A]]

    Injection from twitter futures to java futures.

    Injection from twitter futures to java futures. Will throw when inverting back from java future to twitter future if the java future is not done.

    Definition Classes
    UtilBijections
  25. implicit def twitter2ScalaFuture[A](implicit executor: ExecutionContext): Bijection[Future[A], Future[A]]

    Bijection between twitter and scala style Futures

    Bijection between twitter and scala style Futures

    Definition Classes
    UtilBijections
  26. implicit def twitter2ScalaTry[A]: Bijection[Try[A], Try[A]]

    Bijection between twitter and scala style Trys

    Bijection between twitter and scala style Trys

    Definition Classes
    UtilBijections
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  30. object Owned
    Definition Classes
    UtilBijections
  31. object Shared
    Definition Classes
    UtilBijections

Inherited from UtilBijections

Inherited from AnyRef

Inherited from Any

Ungrouped