|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.sigar.Humidor
public class Humidor
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 |
---|
public Humidor(Sigar sigar)
Method Detail |
---|
public SigarProxy getSigar()
public static Humidor getInstance()
public void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |