Packages

package guava

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class GuavaCache[K, V] extends ConcurrentMapCache[K, V]

    A com.twitter.cache.FutureCache backed by a com.google.common.cache.Cache.

    A com.twitter.cache.FutureCache backed by a com.google.common.cache.Cache.

    Any correct implementation should make sure that you evict failed results, and don't interrupt the underlying request that has been fired off. EvictingCache$ and interrupting com.twitter.util.Futures are useful tools for building correct FutureCaches. A reference implementation for caching the results of an asynchronous function with a guava Cache can be found at GuavaCache$.fromCache.

  2. class LoadingFutureCache[K, V] extends GuavaCache[K, V] with (K) => Future[V]

    A com.twitter.cache.FutureCache backed by a com.google.common.cache.LoadingCache.

    A com.twitter.cache.FutureCache backed by a com.google.common.cache.LoadingCache.

    Any correct implementation should make sure that you evict failed results, and don't interrupt the underlying request that has been fired off. EvictingCache$ and interrupting com.twitter.util.Futures are useful tools for building correct FutureCaches. A reference implementation for caching the results of an asynchronous function with a guava LoadingCache can be found at GuavaCache$.fromLoadingCache.

Value Members

  1. object GuavaCache

Ungrouped