@InterfaceAudience.Private public class MetricsHeapMemoryManager extends Object
| Modifier and Type | Field and Description | 
|---|---|
| private MetricsHeapMemoryManagerSource | source | 
| Constructor and Description | 
|---|
| MetricsHeapMemoryManager() | 
| MetricsHeapMemoryManager(MetricsHeapMemoryManagerSource source) | 
| Modifier and Type | Method and Description | 
|---|---|
| MetricsHeapMemoryManagerSource | getMetricsSource() | 
| void | increaseAboveHeapOccupancyLowWatermarkCounter()Increase the counter for heap occupancy percent above low watermark | 
| void | increaseTunerDoNothingCounter()Increase the counter for tuner neither expanding memstore global size limit nor expanding
 blockcache max size. | 
| void | setCurBlockCacheSizeGauge(long blockCacheSize)Set the current blockcache size used gauge | 
| void | setCurMemStoreSizeGauge(long memStoreSize)Set the current global memstore size used gauge | 
| void | updateBlockCacheDeltaSizeHistogram(int blockCacheDeltaSize)Update the increase/decrease blockcache size histogram | 
| void | updateBlockedFlushCount(long blockedFlushCount)Update/Set the blocked flush count histogram/gauge | 
| void | updateMemStoreDeltaSizeHistogram(int memStoreDeltaSize)Update the increase/decrease memstore size histogram | 
| void | updateUnblockedFlushCount(long unblockedFlushCount)Update/Set the unblocked flush count histogram/gauge | 
private final MetricsHeapMemoryManagerSource source
public MetricsHeapMemoryManager()
public MetricsHeapMemoryManager(MetricsHeapMemoryManagerSource source)
public MetricsHeapMemoryManagerSource getMetricsSource()
public void updateBlockedFlushCount(long blockedFlushCount)
blockedFlushCount - the number of blocked memstore flush since last tuning.public void updateUnblockedFlushCount(long unblockedFlushCount)
unblockedFlushCount - the number of unblocked memstore flush since last tuning.public void setCurBlockCacheSizeGauge(long blockCacheSize)
blockCacheSize - the current memory usage in blockcache, in bytes.public void setCurMemStoreSizeGauge(long memStoreSize)
memStoreSize - the current memory usage in memstore, in bytes.public void updateMemStoreDeltaSizeHistogram(int memStoreDeltaSize)
memStoreDeltaSize - the tuning result of memstore.public void updateBlockCacheDeltaSizeHistogram(int blockCacheDeltaSize)
blockCacheDeltaSize - the tuning result of blockcache.public void increaseTunerDoNothingCounter()
public void increaseAboveHeapOccupancyLowWatermarkCounter()
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.