|
||||||||||
| 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.yarn.util.ResourceCalculatorPlugin
org.apache.hadoop.yarn.util.WindowsResourceCalculatorPlugin
@InterfaceAudience.Private public class WindowsResourceCalculatorPlugin
| Field Summary |
|---|
| Fields inherited from class org.apache.hadoop.yarn.util.ResourceCalculatorPlugin |
|---|
processPid |
| Constructor Summary | |
|---|---|
WindowsResourceCalculatorPlugin()
|
|
| Method Summary | |
|---|---|
long |
getAvailablePhysicalMemorySize()
Obtain the total size of the available physical memory present in the system. |
long |
getAvailableVirtualMemorySize()
Obtain the total size of the available virtual memory present in the system. |
long |
getCpuFrequency()
Obtain the CPU frequency of on the system. |
float |
getCpuUsage()
Obtain the CPU usage % of the machine. |
long |
getCumulativeCpuTime()
Obtain the cumulative CPU time since the system is on. |
int |
getNumProcessors()
Obtain the total number of processors present on the system. |
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. |
| Methods inherited from class org.apache.hadoop.yarn.util.ResourceCalculatorPlugin |
|---|
getResourceCalculatorPlugin, setProcessPid |
| 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 WindowsResourceCalculatorPlugin()
| Method Detail |
|---|
public long getVirtualMemorySize()
getVirtualMemorySize in class ResourceCalculatorPluginpublic long getPhysicalMemorySize()
getPhysicalMemorySize in class ResourceCalculatorPluginpublic long getAvailableVirtualMemorySize()
getAvailableVirtualMemorySize in class ResourceCalculatorPluginpublic long getAvailablePhysicalMemorySize()
getAvailablePhysicalMemorySize in class ResourceCalculatorPluginpublic int getNumProcessors()
getNumProcessors in class ResourceCalculatorPluginpublic long getCpuFrequency()
getCpuFrequency in class ResourceCalculatorPluginpublic long getCumulativeCpuTime()
getCumulativeCpuTime in class ResourceCalculatorPluginpublic float getCpuUsage()
getCpuUsage in class ResourceCalculatorPlugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||