Kieker 1.3

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 which uses the singleton instance of the WriterController retrieved via {@link WriterController#getInstance()}.
 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 which uses the singleton instance of the WriterController retrieved via {@link WriterController#getInstance()}. The size of the internal thread pool used to serve the sensing and logging jobs is set to {@link SigarSamplerFactory#DEFAULT_EXECUTOR_THREAD_POOL_SIZE}.


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:

createSensorCPUsDetailedPerc

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

Specified by:
createSensorCPUsDetailedPerc in interface ISigarSamplerFactory
Returns:

createSensorMemSwapUsage

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

Specified by:
createSensorMemSwapUsage in interface ISigarSamplerFactory
Returns:

Kieker 1.3

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