public class ResultLevelCacheUtil extends Object
| Constructor and Description |
|---|
ResultLevelCacheUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Cache.NamedKey |
computeResultLevelCacheKey(String resultLevelCacheIdentifier) |
static void |
populate(Cache cache,
Cache.NamedKey key,
byte[] resultBytes) |
static <T> boolean |
populateResultLevelCacheOnBrokers(Query<T> query,
CacheStrategy<T,Object,Query<T>> strategy,
CacheConfig cacheConfig) |
static <T> boolean |
useResultLevelCacheOnBrokers(Query<T> query,
CacheStrategy<T,Object,Query<T>> strategy,
CacheConfig cacheConfig) |
public static Cache.NamedKey computeResultLevelCacheKey(String resultLevelCacheIdentifier)
public static void populate(Cache cache, Cache.NamedKey key, byte[] resultBytes)
public static <T> boolean useResultLevelCacheOnBrokers(Query<T> query, CacheStrategy<T,Object,Query<T>> strategy, CacheConfig cacheConfig)
public static <T> boolean populateResultLevelCacheOnBrokers(Query<T> query, CacheStrategy<T,Object,Query<T>> strategy, CacheConfig cacheConfig)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.