kieker.monitoring.probe.sigar.samplers
Class AbstractSigarSampler
java.lang.Object
kieker.monitoring.probe.sigar.samplers.AbstractSigarSampler
- All Implemented Interfaces:
- ISampler
- Direct Known Subclasses:
- CPUsCombinedPercSampler, CPUsDetailedPercSampler, MemSwapUsageSampler
public abstract class AbstractSigarSampler
- extends Object
- implements ISampler
Eases the implementation of ISampler
s which collect
system-level sensor data via the Sigar
API and store this data as IMonitoringRecord
s via
WriterController#newMonitoringRecord(kieker.common.record.IMonitoringRecord)
.
- Author:
- Andre van Hoorn
Constructor Summary |
AbstractSigarSampler(org.hyperic.sigar.SigarProxy sigar)
Constructs a new AbstractSigarSampler with given SigarProxy instance used to retrieve the sensor
data. |
Methods inherited from interface kieker.monitoring.core.sampler.ISampler |
sample |
AbstractSigarSampler
public AbstractSigarSampler(org.hyperic.sigar.SigarProxy sigar)
- Constructs a new
AbstractSigarSampler
with given SigarProxy
instance used to retrieve the sensor
data.
- Parameters:
sigar
-
Copyright 2011 the Kieker Project, http://kieker.sourceforge.net>