Package org.apache.druid.client.cache
Class CachePopulatorStats
java.lang.Object
org.apache.druid.client.cache.CachePopulatorStats
Thread safe collector of
CachePopulator statistics, utilized CacheMonitor to emit cache metrics.
Like the CachePopulator, this is used as a singleton.
See DruidProcessingModule.getCachePopulator(com.fasterxml.jackson.databind.ObjectMapper, org.apache.druid.client.cache.CachePopulatorStats, org.apache.druid.client.cache.CacheConfig) which supplies either
ForegroundCachePopulator or BackgroundCachePopulator, as configured, for more details.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CachePopulatorStats
public CachePopulatorStats()
-
-
Method Details
-
incrementOk
public void incrementOk() -
incrementError
public void incrementError() -
incrementOversized
public void incrementOversized() -
snapshot
-