Package org.apache.druid.client.cache
Class CachePopulatorStats
- java.lang.Object
-
- org.apache.druid.client.cache.CachePopulatorStats
-
public class CachePopulatorStats extends Object
Thread safe collector ofCachePopulatorstatistics, utilizedCacheMonitorto emit cache metrics. Like theCachePopulator, this is used as a singleton. SeeDruidProcessingModule.getCachePopulator(com.fasterxml.jackson.databind.ObjectMapper, org.apache.druid.client.cache.CachePopulatorStats, org.apache.druid.client.cache.CacheConfig)which supplies eitherForegroundCachePopulatororBackgroundCachePopulator, as configured, for more details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCachePopulatorStats.Snapshot
-
Constructor Summary
Constructors Constructor Description CachePopulatorStats()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidincrementError()voidincrementOk()voidincrementOversized()CachePopulatorStats.Snapshotsnapshot()
-
-
-
Method Detail
-
incrementOk
public void incrementOk()
-
incrementError
public void incrementError()
-
incrementOversized
public void incrementOversized()
-
snapshot
public CachePopulatorStats.Snapshot snapshot()
-
-