@InterfaceAudience.Private public interface MetricsHeapMemoryManagerSource extends BaseSource
HBASE_METRICS_SYSTEM_NAME
Modifier and Type | Method and Description |
---|---|
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
|
decGauge, getMetricRegistryInfo, getMetricsContext, getMetricsDescription, getMetricsJmxContext, getMetricsName, incCounters, incGauge, init, removeMetric, setGauge, updateHistogram
static final String METRICS_NAME
static final String METRICS_CONTEXT
static final String METRICS_DESCRIPTION
static final String METRICS_JMX_CONTEXT
static final String BLOCKED_FLUSH_NAME
static final String BLOCKED_FLUSH_DESC
static final String UNBLOCKED_FLUSH_NAME
static final String UNBLOCKED_FLUSH_DESC
static final String INC_MEMSTORE_TUNING_NAME
static final String INC_MEMSTORE_TUNING_DESC
static final String DEC_MEMSTORE_TUNING_NAME
static final String DEC_MEMSTORE_TUNING_DESC
static final String INC_BLOCKCACHE_TUNING_NAME
static final String INC_BLOCKCACHE_TUNING_DESC
static final String DEC_BLOCKCACHE_TUNING_NAME
static final String DEC_BLOCKCACHE_TUNING_DESC
static final String BLOCKED_FLUSH_GAUGE_NAME
static final String BLOCKED_FLUSH_GAUGE_DESC
static final String UNBLOCKED_FLUSH_GAUGE_NAME
static final String UNBLOCKED_FLUSH_GAUGE_DESC
static final String MEMSTORE_SIZE_GAUGE_NAME
static final String MEMSTORE_SIZE_GAUGE_DESC
static final String BLOCKCACHE_SIZE_GAUGE_NAME
static final String BLOCKCACHE_SIZE_GAUGE_DESC
static final String DO_NOTHING_COUNTER_NAME
static final String DO_NOTHING_COUNTER_DESC
static final String ABOVE_HEAP_LOW_WATERMARK_COUNTER_NAME
static final String ABOVE_HEAP_LOW_WATERMARK_COUNTER_DESC
void updateBlockedFlushCount(long blockedFlushCount)
blockedFlushCount
- the number of blocked flush since last tuning.void updateUnblockedFlushCount(long unblockedFlushCount)
unblockedFlushCount
- the number of unblocked flush since last tuning.void setCurBlockCacheSizeGauge(long blockCacheSize)
blockCacheSize
- the current memory usage in blockcache, in bytes.void setCurMemStoreSizeGauge(long memStoreSize)
memStoreSize
- the current memory usage in memstore, in bytes.void updateMemStoreDeltaSizeHistogram(int memStoreDeltaSize)
memStoreDeltaSize
- the tuning result of memstore.void updateBlockCacheDeltaSizeHistogram(int blockCacheDeltaSize)
blockCacheDeltaSize
- the tuning result of blockcache.void increaseTunerDoNothingCounter()
void increaseAboveHeapOccupancyLowWatermarkCounter()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.