|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.conf.Configured
org.apache.hadoop.util.MemoryCalculatorPlugin
org.apache.hadoop.util.LinuxMemoryCalculatorPlugin
public class LinuxMemoryCalculatorPlugin
Plugin to calculate virtual and physical memories on Linux systems.
| Constructor Summary | |
|---|---|
LinuxMemoryCalculatorPlugin()
|
|
| Method Summary | |
|---|---|
long |
getPhysicalMemorySize()
Obtain the total size of the physical memory present in the system. |
long |
getVirtualMemorySize()
Obtain the total size of the virtual memory present in the system. |
static void |
main(java.lang.String[] args)
Test the LinuxMemoryCalculatorPlugin |
| Methods inherited from class org.apache.hadoop.util.MemoryCalculatorPlugin |
|---|
getMemoryCalculatorPlugin |
| 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 LinuxMemoryCalculatorPlugin()
| Method Detail |
|---|
public long getPhysicalMemorySize()
getPhysicalMemorySize in class MemoryCalculatorPluginpublic long getVirtualMemorySize()
getVirtualMemorySize in class MemoryCalculatorPluginpublic static void main(java.lang.String[] args)
LinuxMemoryCalculatorPlugin
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||