Kieker 1.4

kieker.monitoring.probe.sigar
Class SigarSamplerFactory

java.lang.Object
  extended by kieker.monitoring.probe.sigar.SigarSamplerFactory
All Implemented Interfaces:
ISigarSamplerFactory

public final class SigarSamplerFactory
extends Object
implements ISigarSamplerFactory

Provides factory methods for AbstractSigarSamplers.

Author:
Andre van Hoorn

Constructor Summary
SigarSamplerFactory(org.hyperic.sigar.Humidor humidor)
          Constructs a SigarSamplerFactory with the given parameters.
 
Method Summary
 CPUsCombinedPercSampler createSensorCPUsCombinedPerc()
          Creates an instance of CPUsCombinedPercSampler.
 CPUsDetailedPercSampler createSensorCPUsDetailedPerc()
          Creates an instance of CPUsDetailedPercSampler.
 MemSwapUsageSampler createSensorMemSwapUsage()
          Creates an instance of MemSwapUsageSampler.
static SigarSamplerFactory getInstance()
          Returns the singleton instance of the SigarSamplerFactory.
 org.hyperic.sigar.SigarProxy getSigar()
          SigarProxy instance used by this SigarSamplerFactory.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SigarSamplerFactory

public SigarSamplerFactory(org.hyperic.sigar.Humidor humidor)
Constructs a SigarSamplerFactory with the given parameters.

Parameters:
humidor -
Method Detail

getInstance

public static final SigarSamplerFactory getInstance()
Returns the singleton instance of the SigarSamplerFactory.


getSigar

public final org.hyperic.sigar.SigarProxy getSigar()
SigarProxy instance used by this SigarSamplerFactory.

Returns:
the sigar

createSensorCPUsCombinedPerc

public CPUsCombinedPercSampler createSensorCPUsCombinedPerc()
Description copied from interface: ISigarSamplerFactory
Creates an instance of CPUsCombinedPercSampler.

Specified by:
createSensorCPUsCombinedPerc in interface ISigarSamplerFactory
Returns:
the created instance.

createSensorCPUsDetailedPerc

public CPUsDetailedPercSampler createSensorCPUsDetailedPerc()
Description copied from interface: ISigarSamplerFactory
Creates an instance of CPUsDetailedPercSampler.

Specified by:
createSensorCPUsDetailedPerc in interface ISigarSamplerFactory
Returns:
the created instance.

createSensorMemSwapUsage

public MemSwapUsageSampler createSensorMemSwapUsage()
Description copied from interface: ISigarSamplerFactory
Creates an instance of MemSwapUsageSampler.

Specified by:
createSensorMemSwapUsage in interface ISigarSamplerFactory
Returns:
the created instance.

Kieker 1.4

Copyright 2011 the Kieker Project, http://kieker.sourceforge.net