goldengate.common.cpu
Class CpuManagement

java.lang.Object
  extended by goldengate.common.cpu.CpuManagement
All Implemented Interfaces:
CpuManagementInterface

public class CpuManagement
extends Object
implements CpuManagementInterface

Author:
bregier

Constructor Summary
CpuManagement()
           
 
Method Summary
 double getLoadAverage()
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CpuManagement

public CpuManagement()
              throws UnsupportedOperationException
Throws:
UnsupportedOperationException - if System Load Average is not supported
Method Detail

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.