Package org.apache.druid.client.cache
Class CacheConfig
- java.lang.Object
-
- org.apache.druid.client.cache.CacheConfig
-
public class CacheConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringPOPULATE_CACHE
-
Constructor Summary
Constructors Constructor Description CacheConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCacheBulkMergeLimit()intgetMaxEntrySize()intgetNumBackgroundThreads()intgetResultLevelCacheLimit()booleanisPopulateCache()booleanisPopulateResultLevelCache()booleanisQueryCacheable(String queryType)booleanisQueryCacheable(org.apache.druid.query.Query query)booleanisUseCache()booleanisUseResultLevelCache()
-
-
-
Field Detail
-
POPULATE_CACHE
public static final String POPULATE_CACHE
- See Also:
- Constant Field Values
-
-
Method Detail
-
isPopulateCache
public boolean isPopulateCache()
-
isUseCache
public boolean isUseCache()
-
isPopulateResultLevelCache
public boolean isPopulateResultLevelCache()
-
isUseResultLevelCache
public boolean isUseResultLevelCache()
-
getNumBackgroundThreads
public int getNumBackgroundThreads()
-
getCacheBulkMergeLimit
public int getCacheBulkMergeLimit()
-
getMaxEntrySize
public int getMaxEntrySize()
-
getResultLevelCacheLimit
public int getResultLevelCacheLimit()
-
isQueryCacheable
public boolean isQueryCacheable(org.apache.druid.query.Query query)
-
isQueryCacheable
public boolean isQueryCacheable(String queryType)
-
-