|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.monitoring.sampler.mxbean.AbstractMXBeanSampler
public abstract class AbstractMXBeanSampler
This is an abstract base for all sampler using the MXBean interface to access information from the JVM.
Constructor Summary | |
---|---|
AbstractMXBeanSampler()
Empty constructor. |
Method Summary | |
---|---|
protected abstract IMonitoringRecord[] |
createNewMonitoringRecords(long timestamp,
java.lang.String hostname,
java.lang.String vmName,
IMonitoringController monitoringCtr)
Abstract method used as interface to realize concrete samplers. |
void |
sample(IMonitoringController monitoringController)
Perform one measurement with potential multiple records. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractMXBeanSampler()
Method Detail |
---|
public final void sample(IMonitoringController monitoringController) throws java.lang.Exception
sample
in interface ISampler
monitoringController
- The monitoring controller for this probe.
java.lang.Exception
- depending on the concrete sampler different exceptions can be raisedprotected abstract IMonitoringRecord[] createNewMonitoringRecords(long timestamp, java.lang.String hostname, java.lang.String vmName, IMonitoringController monitoringCtr)
timestamp
- the current time.hostname
- the hostname of the machine where this measurement is performedvmName
- name of the vmmonitoringCtr
- monitoring controller used in the measurement
|
Kieker 1.11 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |