public class CacheUtil extends Object
| Constructor and Description |
|---|
CacheUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Cache.NamedKey |
computeSegmentCacheKey(String segmentId,
SegmentDescriptor descriptor,
byte[] queryCacheKey) |
static <T> boolean |
populateCacheOnBrokers(Query<T> query,
CacheStrategy<T,Object,Query<T>> strategy,
CacheConfig cacheConfig) |
static <T> boolean |
populateCacheOnDataNodes(Query<T> query,
CacheStrategy<T,Object,Query<T>> strategy,
CacheConfig cacheConfig) |
static <T> boolean |
useCacheOnBrokers(Query<T> query,
CacheStrategy<T,Object,Query<T>> strategy,
CacheConfig cacheConfig) |
static <T> boolean |
useCacheOnDataNodes(Query<T> query,
CacheStrategy<T,Object,Query<T>> strategy,
CacheConfig cacheConfig) |
public static Cache.NamedKey computeSegmentCacheKey(String segmentId, SegmentDescriptor descriptor, byte[] queryCacheKey)
public static <T> boolean useCacheOnBrokers(Query<T> query, CacheStrategy<T,Object,Query<T>> strategy, CacheConfig cacheConfig)
public static <T> boolean populateCacheOnBrokers(Query<T> query, CacheStrategy<T,Object,Query<T>> strategy, CacheConfig cacheConfig)
public static <T> boolean useCacheOnDataNodes(Query<T> query, CacheStrategy<T,Object,Query<T>> strategy, CacheConfig cacheConfig)
public static <T> boolean populateCacheOnDataNodes(Query<T> query, CacheStrategy<T,Object,Query<T>> strategy, CacheConfig cacheConfig)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.