goldengate.common.cpu
Class CpuManagement
java.lang.Object
goldengate.common.cpu.CpuManagement
- All Implemented Interfaces:
- CpuManagementInterface
public class CpuManagement
- extends Object
- implements CpuManagementInterface
- Author:
- bregier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CpuManagement
public CpuManagement()
throws UnsupportedOperationException
- Throws:
UnsupportedOperationException
- if System Load Average is not supported
getLoadAverage
public double getLoadAverage()
- Specified by:
getLoadAverage
in interface CpuManagementInterface
- Returns:
- the load average
main
public static void main(String[] args)
Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.