Package org.palladiosimulator.probeframework.probes
package org.palladiosimulator.probeframework.probes
Probes specify which probe type they measure (using metrics such as "current time" or
"CPU state/queue size"). In particular, probes know how to measure their type, i.e.,
they come with a suitable implementation. Once implemented, probes can be placed all
over the simulator to steadily probe.
This package provides the (widely abstract) type hierarchy for such probes. Probed
environments (e.g., a simulator) typically have to create concrete subclasses of
appropriate probe types to realize their concrete probe variant (concrete probes
depend on the implementation of the instrumented environment).
The superclass of all probes is the
Probe
class.- See Also:
-
ClassDescriptionBasicEventProbe<EventSourceType,
V, Q extends javax.measure.quantity.Quantity> Basic event probes refer to exactly one base metric description, thus, specializing the general event probe.BasicObjectStateProbe<StateObjectType,V, Q extends javax.measure.quantity.Quantity> This class realizes a basic triggered probe that observes an object's state, thus, additionally maintaining anobserveredStateObject
member variable.BasicTriggeredProbe<V,Q extends javax.measure.quantity.Quantity> Implements thedoMeasure
method by returning aBasicMeasurement
, i.e., a measurement for aBaseMetricDescription
.EventProbe<EventSourceType>Event probes measure as soon as an event is emitted for which they are registered.Event probe lists group a list of subsumed, triggered probes that are triggered as soon as an additional, dedicated event probe emits an event.This class is the abstract super class for all probe implementations.This probe allows to attach supplementary measurements to a basic probe.Triggered probes measure as soon as theirtakeMeasurement
method is invoked (with optional context parameter of typeRequestContext
, e.g., the thread that triggered the probe.Triggered probe lists group a set of subsumed, triggered probes.