goldengate.common.cpu
Class CpuManagementSysmon

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

public class CpuManagementSysmon
extends Object
implements CpuManagementInterface

Author:
bregier

Field Summary
static long delay
           
 
Constructor Summary
CpuManagementSysmon()
           
 
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
 

Field Detail

delay

public static long delay
Constructor Detail

CpuManagementSysmon

public CpuManagementSysmon()
                    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.