|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.conf.Configured org.apache.hadoop.util.MemoryCalculatorPlugin
ResourceCalculatorPlugin
instead
@Deprecated public abstract class MemoryCalculatorPlugin
Plugin to calculate virtual and physical memories on the system.
Constructor Summary | |
---|---|
MemoryCalculatorPlugin()
Deprecated. |
Method Summary | |
---|---|
static MemoryCalculatorPlugin |
getMemoryCalculatorPlugin(Class<? extends MemoryCalculatorPlugin> clazz,
Configuration conf)
Deprecated. Get the MemoryCalculatorPlugin from the class name and configure it. |
abstract long |
getPhysicalMemorySize()
Deprecated. Obtain the total size of the physical memory present in the system. |
abstract long |
getVirtualMemorySize()
Deprecated. Obtain the total size of the virtual memory present in the system. |
Methods inherited from class org.apache.hadoop.conf.Configured |
---|
getConf, setConf |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemoryCalculatorPlugin()
Method Detail |
---|
public abstract long getVirtualMemorySize()
public abstract long getPhysicalMemorySize()
public static MemoryCalculatorPlugin getMemoryCalculatorPlugin(Class<? extends MemoryCalculatorPlugin> clazz, Configuration conf)
clazz
- class-nameconf
- configure the plugin with this.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |