Class GCSampler

java.lang.Object
kieker.monitoring.sampler.mxbean.AbstractMXBeanSampler
kieker.monitoring.sampler.mxbean.GCSampler
All Implemented Interfaces:
ISampler

public class GCSampler
extends AbstractMXBeanSampler
A sampler using the MXBean interface to access information about the garbage collector(s). The sampler produces a GCRecord for each garbage collector each time the sample method is called.
Since:
1.10
Author:
Nils Christian Ehmke
  • Constructor Summary

    Constructors 
    Constructor Description
    GCSampler()
    Create new GCSampler.
  • Method Summary

    Modifier and Type Method 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.

    Methods inherited from class kieker.monitoring.sampler.mxbean.AbstractMXBeanSampler

    sample

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GCSampler

      public GCSampler()
      Create new GCSampler.
  • Method Details