Package kieker.monitoring.core.sampler
Interface ISampler
- All Known Implementing Classes:
AbstractMXBeanSampler,AbstractOshiSampler,ClassLoadingSampler,CompilationSampler,CPUsCombinedPercSampler,CPUsDetailedPercSampler,DiskUsageSampler,GCSampler,LoadAverageSampler,MemorySampler,MemSwapUsageSampler,NetworkUtilizationSampler,ThreadsStatusSampler,UptimeSampler
public interface ISampler
- Since:
- 1.3
- Author:
- Andre van Hoorn
-
Method Summary
Modifier and Type Method Description voidsample(IMonitoringController monitoringController)Triggers thisISamplerto perform a measurement and to pass the data to the givenIMonitoringController.
-
Method Details
-
sample
Triggers thisISamplerto perform a measurement and to pass the data to the givenIMonitoringController.- Parameters:
monitoringController- The controller to which the sampler should pass the data.- Throws:
java.lang.Exception- thrown to indicate an error.- Since:
- 1.3
-