Package

com.twitter.bijection

twitter_util

Permalink

package twitter_util

Visibility
  1. Public
  2. All

Type Members

  1. class FuturePoolJavaFutureConverter extends JavaFutureConverter

    Permalink

    Converter based on the specified futurePool which will create one thread per future possibly limited by the maximum size of the pool.

    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.

  2. abstract class JavaFutureConverter extends AnyRef

    Permalink

    Base class for converting java futures to twitter futures

  3. class ScalaFuturePool extends FuturePool

    Permalink

    FuturePool adapter for ExecutionContext

  4. class TimerJavaFutureConverter extends JavaFutureConverter

    Permalink

    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.

  5. class TwitterExecutionContext extends ExecutionContext

    Permalink

    ExecutionContext adapter for FuturePool

  6. trait UtilBijections extends AnyRef

    Permalink

    Bijection for mapping twitter-util's Future and Try onto other types.

Value Members

  1. object UtilBijections extends UtilBijections

    Permalink

Ungrouped