@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.Configurablepublic void setConf(org.apache.hadoop.conf.Configuration conf)
setConf in interface org.apache.hadoop.conf.Configurablepublic HeapMemoryManager.TunerResult tune(HeapMemoryManager.TunerContext context)
HeapMemoryTunertune in interface HeapMemoryTunerTunerResult including the heap percentage for memstore and block cacheCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.