public interface CacheStrategy<T,CacheType,QueryType extends Query<T>>
Modifier and Type | Method and Description |
---|---|
byte[] |
computeCacheKey(QueryType query) |
com.fasterxml.jackson.core.type.TypeReference<CacheType> |
getCacheObjectClazz() |
com.metamx.common.guava.Sequence<T> |
mergeSequences(com.metamx.common.guava.Sequence<com.metamx.common.guava.Sequence<T>> seqOfSequences) |
com.google.common.base.Function<T,CacheType> |
prepareForCache() |
com.google.common.base.Function<CacheType,T> |
pullFromCache() |
Copyright © 2011–2015. All rights reserved.