object UtilBijections extends UtilBijections
- Alphabetic
- By Inheritance
- UtilBijections
- UtilBijections
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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
- implicit def futurePoolExecutionContextBijection: Bijection[FuturePool, ExecutionContext]
Bijection from FuturePool to ExecutionContext
Bijection from FuturePool to ExecutionContext
- Definition Classes
- UtilBijections
- 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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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
- 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
- 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
- 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
checkFrequencyif 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 bycheckFrequency.
- Definition Classes
- UtilBijections
- 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
- 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
- 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
- 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()
- object Owned
- Definition Classes
- UtilBijections
- object Shared
- Definition Classes
- UtilBijections