Class ForegroundCachePopulator

java.lang.Object
org.apache.druid.client.cache.ForegroundCachePopulator
All Implemented Interfaces:
CachePopulator

public class ForegroundCachePopulator extends Object implements CachePopulator
CachePopulator implementation that populates a cache on the same thread that is processing the Sequence. Used if config "druid.*.cache.numBackgroundThreads" is 0 (the default).
  • Constructor Details

    • ForegroundCachePopulator

      public ForegroundCachePopulator(com.fasterxml.jackson.databind.ObjectMapper objectMapper, CachePopulatorStats cachePopulatorStats, long maxEntrySize)
  • Method Details