Package de.uka.ipd.sdq.simucomframework
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 Summary
Constructors Constructor Description ReliabilitySensorHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetScenarioProbeSetId(String usageScenarioId)Retrieves a usage-scenario-specific execution result ProbeSet ID.static voidrecordExternalCallResult(String callName, String externalCallId, FailureException exception, SimuComModel model, org.palladiosimulator.probeframework.measurement.RequestContext requestContext)Records the execution results of an external call action.
-
-
-
Method Detail
-
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 actionexternalCallId- the probe set id of the external call actionexception- the occurred failure exception (if any)simControl- the simulation control object, keeping the current simulated timerequestContext- the identification of the request context
-
-