package twitter_util
- Alphabetic
- Public
- Protected
Type Members
- class FuturePoolJavaFutureConverter extends JavaFutureConverter
Converter based on the specified
futurePoolwhich will create one thread per future possibly limited by the maximum size of the pool.Converter based on the specified
futurePoolwhich will create one thread per future possibly limited by the maximum size of the pool. To favor if there aren't too many futures to convert and one cares about latency. - abstract class JavaFutureConverter extends AnyRef
Base class for converting java futures to twitter futures
- class ScalaFuturePool extends FuturePool
FuturePool adapter for ExecutionContext
- class TimerJavaFutureConverter extends JavaFutureConverter
Converter based on a Timer which will create a task which will check every
checkFrequencyif the java future is completed, the threading model is the one used by the specifiedtimerwhich is often a thread pool of size 1.Converter based on a Timer which will create a task which will check every
checkFrequencyif the java future is completed, the threading model is the one used by the specifiedtimerwhich is often a thread pool of size 1. To favor if there are a lot of futures to convert and one cares less about the latency induced bycheckFrequency.checkFrequencyneeds to be a multiple of the timer implementation's granularity which is often 1ms. - class TwitterExecutionContext extends ExecutionContext
ExecutionContext adapter for FuturePool
- trait UtilBijections extends AnyRef
Bijection for mapping twitter-util's Future and Try onto other types.
Value Members
- object UtilBijections extends UtilBijections