Kieker 1.12

kieker.monitoring.sampler.mxbean
Class ClassLoadingSampler

java.lang.Object
  extended by kieker.monitoring.sampler.mxbean.AbstractMXBeanSampler
      extended by kieker.monitoring.sampler.mxbean.ClassLoadingSampler
All Implemented Interfaces:
ISampler

public class ClassLoadingSampler
extends AbstractMXBeanSampler

A sampler using the MXBean interface to access information about the class loading. The sampler produces a ClassLoadingRecord each time the sample method is called.

Since:
1.10
Author:
Nils Christian Ehmke

Constructor Summary
ClassLoadingSampler()
          Create a new ClassLoadingSampler.
 
Method Summary
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 Detail

ClassLoadingSampler

public ClassLoadingSampler()
Create a new ClassLoadingSampler.

Method Detail

createNewMonitoringRecords

protected IMonitoringRecord[] createNewMonitoringRecords(long timestamp,
                                                         java.lang.String hostname,
                                                         java.lang.String vmName,
                                                         IMonitoringController monitoringCtr)
Description copied from class: AbstractMXBeanSampler
Abstract method used as interface to realize concrete samplers.

Specified by:
createNewMonitoringRecords in class AbstractMXBeanSampler
Parameters:
timestamp - the current time.
hostname - the hostname of the machine where this measurement is performed
vmName - name of the vm
monitoringCtr - monitoring controller used in the measurement
Returns:
returns an array of records containing the measurement

Kieker 1.12

Copyright 2015 Kieker Project, http://kieker-monitoring.net