Converter based on the specified futurePool
which will create one thread per
future possibly limited by the maximum size of the pool.
Base class for converting java futures to twitter futures
FuturePool adapter for ExecutionContext
Converter based on a Timer which will create a task which will check every
checkFrequency
if the java future is completed, the threading model is the one
used by the specified timer
which is often a thread pool of size 1.
Converter based on a Timer which will create a task which will check every
checkFrequency
if the java future is completed, the threading model is the one
used by the specified timer
which 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
by checkFrequency
.
checkFrequency
needs to be a multiple of the timer implementation's granularity
which is often 1ms.
ExecutionContext adapter for FuturePool
Bijection for mapping twitter-util's Future and Try onto other types.
Converter based on the specified
futurePool
which 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.