Kieker 1.9

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, MemSwapUsageSampler

public abstract class AbstractSigarSampler
extends 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

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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface kieker.monitoring.core.sampler.ISampler
sample
 

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.9

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