public class MemSwapUsageSampler extends AbstractSigarSampler
Mem and Swap,
as MemSwapUsageRecords via IWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord) .sigar| Constructor and Description |
|---|
MemSwapUsageSampler(org.hyperic.sigar.SigarProxy sigar)
Constructs a new
AbstractSigarSampler with given SigarProxy instance used to retrieve the sensor data. |
| Modifier and Type | Method and Description |
|---|---|
void |
sample(IMonitoringController monitoringCtr)
Triggers this
ISampler to perform a measurement and to pass the data to the given IMonitoringController. |
public MemSwapUsageSampler(org.hyperic.sigar.SigarProxy sigar)
AbstractSigarSampler with given SigarProxy instance used to retrieve the sensor data. Users
should use the factory method SigarSamplerFactory.createSensorMemSwapUsage() to acquire an
instance rather than calling this constructor directly.sigar - The sigar proxy which will be used to retrieve the data.public void sample(IMonitoringController monitoringCtr) throws org.hyperic.sigar.SigarException
ISampler to perform a measurement and to pass the data to the given IMonitoringController.monitoringCtr - The controller to which the sampler should pass the data.org.hyperic.sigar.SigarExceptionCopyright 2017 Kieker Project, http://kieker-monitoring.net