public class CPUsCombinedPercSampler extends AbstractOshiSampler
HardwareAbstractionLayer, as
ResourceUtilizationRecords via
IWriterController.newMonitoringRecord(kieker.common.record.IMonitoringRecord)
.hardwareAbstractionLayer| Constructor and Description |
|---|
CPUsCombinedPercSampler(oshi.hardware.HardwareAbstractionLayer hardwareAbstractionLayer)
Constructs a new
AbstractOshiSampler with given SystemInfo
instance used to retrieve the sensor data. |
| Modifier and Type | Method and Description |
|---|---|
void |
sample(IMonitoringController monitoringController)
Triggers this
ISampler to perform a measurement and to pass the data to the given IMonitoringController. |
public CPUsCombinedPercSampler(oshi.hardware.HardwareAbstractionLayer hardwareAbstractionLayer)
AbstractOshiSampler with given SystemInfo
instance used to retrieve the sensor data. Users should use the factory
method
OshiSamplerFactory.createSensorCPUsCombinedPerc()
to acquire an instance rather than calling this constructor directly.hardwareAbstractionLayer - The hardwareAbstractionLayer which will be used to retrieve the
data.public void sample(IMonitoringController monitoringController)
ISampler to perform a measurement and to pass the data to the given IMonitoringController.monitoringController - The controller to which the sampler should pass the data.Copyright 2020 Kieker Project, http://kieker-monitoring.net