org.hyperic.sigar
Class Humidor

java.lang.Object
  extended by org.hyperic.sigar.Humidor

public class Humidor
extends java.lang.Object

The Humidor provides access to a single Sigar instance. Sigar has a high-cost setup/teardown and has a high amount of caching, used to determine things like the % of CPU used in-between calls. The Humidor also synchronizes access to all Sigar methods, so all calls will be serialized.


Constructor Summary
Humidor(Sigar sigar)
           
 
Method Summary
 void close()
           
static Humidor getInstance()
           
 SigarProxy getSigar()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Humidor

public Humidor(Sigar sigar)
Method Detail

getSigar

public SigarProxy getSigar()

getInstance

public static Humidor getInstance()

close

public void close()


Copyright ? 2004-2009 Hyperic. All Rights Reserved.