public class ForegroundCachePopulator extends Object implements CachePopulator
| Constructor and Description |
|---|
ForegroundCachePopulator(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
CachePopulatorStats cachePopulatorStats,
long maxEntrySize) |
| Modifier and Type | Method and Description |
|---|---|
<T,CacheType> |
wrap(Sequence<T> sequence,
Function<T,CacheType> cacheFn,
Cache cache,
Cache.NamedKey cacheKey) |
public ForegroundCachePopulator(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
CachePopulatorStats cachePopulatorStats,
long maxEntrySize)
public <T,CacheType> Sequence<T> wrap(Sequence<T> sequence, Function<T,CacheType> cacheFn, Cache cache, Cache.NamedKey cacheKey)
wrap in interface CachePopulatorCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.