Kieker 1.12

kieker.monitoring.sampler.sigar.samplers
Class AbstractSigarSampler

java.lang.Object
  extended by kieker.monitoring.sampler.sigar.samplers.AbstractSigarSampler
All Implemented Interfaces:
ISampler
Direct Known Subclasses:
CPUsCombinedPercSampler, CPUsDetailedPercSampler, DiskUsageSampler, LoadAverageSampler, MemSwapUsageSampler, NetworkUtilizationSampler

public abstract class AbstractSigarSampler
extends java.lang.Object
implements ISampler

Eases the implementation of ISamplers which collect system-level sensor data via the Sigar API and store this data as IMonitoringRecords via WriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord) .

Since:
1.3
Author:
Andre van Hoorn

Field Summary
protected  org.hyperic.sigar.SigarProxy sigar
          The sigar proxy which will be used to retrieve the sensor data.
 
Constructor Summary
AbstractSigarSampler(org.hyperic.sigar.SigarProxy sigar)
          Constructs a new AbstractSigarSampler with given SigarProxy instance used to retrieve the sensor data.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface kieker.monitoring.core.sampler.ISampler
sample
 

Field Detail

sigar

protected final org.hyperic.sigar.SigarProxy sigar
The sigar proxy which will be used to retrieve the sensor data.

Constructor Detail

AbstractSigarSampler

public AbstractSigarSampler(org.hyperic.sigar.SigarProxy sigar)
Constructs a new AbstractSigarSampler with given SigarProxy instance used to retrieve the sensor data.

Parameters:
sigar - The sigar proxy which will be used to retrieve the data.

Kieker 1.12

Copyright 2015 Kieker Project, http://kieker-monitoring.net