public class CachingClusteredClient<T> extends Object implements QueryRunner<T>
Constructor and Description |
---|
CachingClusteredClient(QueryToolChestWarehouse warehouse,
TimelineServerView serverView,
Cache cache,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
ExecutorService backgroundExecutorService,
CacheConfig cacheConfig) |
Modifier and Type | Method and Description |
---|---|
protected com.metamx.common.guava.Sequence<T> |
mergeCachedAndUncachedSequences(List<com.metamx.common.guava.Sequence<T>> sequencesByInterval,
QueryToolChest<T,Query<T>> toolChest) |
com.metamx.common.guava.Sequence<T> |
run(Query<T> query,
Map<String,Object> responseContext) |
@Inject public CachingClusteredClient(QueryToolChestWarehouse warehouse, TimelineServerView serverView, Cache cache, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExecutorService backgroundExecutorService, CacheConfig cacheConfig)
Copyright © 2011–2015. All rights reserved.