@InterfaceAudience.Private public class NoOpHeapMemoryTuner extends Object implements HeapMemoryTuner
Modifier and Type | Field and Description |
---|---|
private static HeapMemoryManager.TunerResult |
NO_OP_TUNER_RESULT |
Constructor and Description |
---|
NoOpHeapMemoryTuner() |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.conf.Configuration |
getConf() |
void |
setConf(org.apache.hadoop.conf.Configuration conf) |
HeapMemoryManager.TunerResult |
tune(HeapMemoryManager.TunerContext context)
Perform the heap memory tuning operation.
|
private static final HeapMemoryManager.TunerResult NO_OP_TUNER_RESULT
public org.apache.hadoop.conf.Configuration getConf()
getConf
in interface org.apache.hadoop.conf.Configurable
public void setConf(org.apache.hadoop.conf.Configuration conf)
setConf
in interface org.apache.hadoop.conf.Configurable
public HeapMemoryManager.TunerResult tune(HeapMemoryManager.TunerContext context)
HeapMemoryTuner
tune
in interface HeapMemoryTuner
TunerResult
including the heap percentage for memstore and block cacheCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.