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 Sequence<T> |
mergeCachedAndUncachedSequences(Query<T> query,
List<Sequence<T>> sequencesByInterval) |
Sequence<T> |
run(Query<T> query,
Map<String,Object> responseContext)
Runs the given query and returns results in a time-ordered sequence
|
@Inject public CachingClusteredClient(QueryToolChestWarehouse warehouse, TimelineServerView serverView, Cache cache, com.fasterxml.jackson.databind.ObjectMapper objectMapper, ExecutorService backgroundExecutorService, CacheConfig cacheConfig)
Copyright © 2011–2017. All rights reserved.