Class ReliabilitySensorHelper

java.lang.Object
de.uka.ipd.sdq.simucomframework.ReliabilitySensorHelper

public class ReliabilitySensorHelper extends Object
This class provides auxiliary functionality for capturing reliability-relevant sensor data during the simulation.
  • Constructor Details

    • ReliabilitySensorHelper

      public ReliabilitySensorHelper()
  • Method Details

    • getScenarioProbeSetId

      public static String getScenarioProbeSetId(String usageScenarioId)
      Retrieves a usage-scenario-specific execution result ProbeSet ID.
      Parameters:
      usageScenarioId - the ID of the PCM model element representing the usage scenario
      Returns:
      the corresponding ProbeSet ID
    • recordExternalCallResult

      public static void recordExternalCallResult(String callName, String externalCallId, FailureException exception, SimuComModel model, org.palladiosimulator.probeframework.measurement.RequestContext requestContext)
      Records the execution results of an external call action.
      Parameters:
      callName - the call name of the external call action
      externalCallId - the probe set id of the external call action
      exception - the occurred failure exception (if any)
      simControl - the simulation control object, keeping the current simulated time
      requestContext - the identification of the request context