public class CachePopulatorStats extends Object
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.| Modifier and Type | Class and Description |
|---|---|
static class |
CachePopulatorStats.Snapshot |
| Constructor and Description |
|---|
CachePopulatorStats() |
| Modifier and Type | Method and Description |
|---|---|
void |
incrementError() |
void |
incrementOk() |
void |
incrementOversized() |
CachePopulatorStats.Snapshot |
snapshot() |
public void incrementOk()
public void incrementError()
public void incrementOversized()
public CachePopulatorStats.Snapshot snapshot()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.