kieker.monitoring.sampler.mxbean
Class AbstractMXBeanSampler
java.lang.Object
kieker.monitoring.sampler.mxbean.AbstractMXBeanSampler
- All Implemented Interfaces:
- ISampler
- Direct Known Subclasses:
- ClassLoadingSampler, CompilationSampler, GCSampler, MemorySampler, ThreadsStatusSampler, UptimeSampler
public abstract class AbstractMXBeanSampler
- extends Object
- implements ISampler
This is an abstract base for all sampler using the MXBean interface to access information from the JVM.
- Since:
- 1.10
- Author:
- Nils Christian Ehmke
AbstractMXBeanSampler
public AbstractMXBeanSampler()
- Empty constructor.
sample
public final void sample(IMonitoringController monitoringController)
throws Exception
- Perform one measurement with potential multiple records.
- Specified by:
sample
in interface ISampler
- Parameters:
monitoringController
- The controller to which the sampler should pass the data.
- Throws:
Exception
- depending on the concrete sampler different exceptions can be raised
Copyright 2014 Kieker Project, http://kieker-monitoring.net>