public class GCSampler extends AbstractMXBeanSampler
GCRecord
for each garbage collector each
time the sample
method is called.Constructor and Description |
---|
GCSampler()
Create new GCSampler.
|
Modifier and Type | Method and Description |
---|---|
protected IMonitoringRecord[] |
createNewMonitoringRecords(long timestamp,
java.lang.String hostname,
java.lang.String vmName,
IMonitoringController monitoringCtr)
Abstract method used as interface to realize concrete samplers.
|
sample
protected IMonitoringRecord[] createNewMonitoringRecords(long timestamp, java.lang.String hostname, java.lang.String vmName, IMonitoringController monitoringCtr)
AbstractMXBeanSampler
createNewMonitoringRecords
in class AbstractMXBeanSampler
timestamp
- the current time.hostname
- the hostname of the machine where this measurement is performedvmName
- name of the vmmonitoringCtr
- monitoring controller used in the measurementCopyright 2017 Kieker Project, http://kieker-monitoring.net