EventSourceType - The type of the event source (as needed by the superclass).V - The value type of the basic measure (as needed by the superclass).Q - The quantity type of the basic measure (as needed by the superclass).public abstract class BasicEventProbe<EventSourceType,V,Q extends javax.measure.quantity.Quantity> extends EventProbe<EventSourceType> implements org.palladiosimulator.metricspec.metricentity.IMetricEntity
notify method. This method allows
subclasses to pass an event measurement to it when they receive an event. Subsequently,
notify can generically inform registered probe listeners about a newly available
probe measurement. For characterizing the measurement itself, basic event probes refer to V as
the value of the measure to Q as their quantity.
Note that this class still leaves the implementation of the abstract method
registerListener to its subclasses.| Constructor and Description |
|---|
BasicEventProbe(EventSourceType eventSource,
org.palladiosimulator.metricspec.BaseMetricDescription metricDescription)
Default constructor.
|
addObserver, getMetricDesciption, isCompatibleWith, removeObserverpublic BasicEventProbe(EventSourceType eventSource, org.palladiosimulator.metricspec.BaseMetricDescription metricDescription)
eventSource - The event source as needed by the superclass.metricDescription - The metric description as needed by the superclass.