Class DummyRecorder

  • All Implemented Interfaces:
    org.palladiosimulator.measurementframework.listener.IMeasurementSourceListener, org.palladiosimulator.recorderframework.IRecorder

    public class DummyRecorder
    extends Object
    implements org.palladiosimulator.recorderframework.IRecorder
    Dummy implementation for the IRecorder interface. Required only because EventSim exploits the recorder framework to contribute a "R configuration" tab to the launch configuration, though EventSim doesn't support the recorder framework actually.

    EventSim won't call any of these methods, so an exception is thrown for each method invocation to indicate a misconfiguration, e.g. when trying to use R recorder with SimuCom.

    • Constructor Detail

      • DummyRecorder

        public DummyRecorder()
    • Method Detail

      • initialize

        public void initialize​(org.palladiosimulator.recorderframework.config.IRecorderConfiguration recorderConfiguration)
        Specified by:
        initialize in interface org.palladiosimulator.recorderframework.IRecorder
      • writeData

        public void writeData​(org.palladiosimulator.measurementframework.MeasuringValue measurement)
        Specified by:
        writeData in interface org.palladiosimulator.recorderframework.IRecorder
      • flush

        public void flush()
        Specified by:
        flush in interface org.palladiosimulator.recorderframework.IRecorder
      • newMeasurementAvailable

        public void newMeasurementAvailable​(org.palladiosimulator.measurementframework.MeasuringValue newMeasurement)
        Specified by:
        newMeasurementAvailable in interface org.palladiosimulator.measurementframework.listener.IMeasurementSourceListener
      • preUnregister

        public void preUnregister()
        Specified by:
        preUnregister in interface org.palladiosimulator.measurementframework.listener.IMeasurementSourceListener