Class ExperimentVisitor
java.lang.Object
org.palladiosimulator.protocom.framework.java.ee.experiment.ExperimentVisitor
- All Implemented Interfaces:
ICallVisitor
The ExperimentVisitor class is used to measure the duration of method calls during an experiment.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
postCallVisit
(String callId) Called after a method call.void
preCallVisit
(String callId) Called before a method call.
-
Constructor Details
-
ExperimentVisitor
public ExperimentVisitor()Constructs a new ExperimentVisitor object.
-
-
Method Details
-
preCallVisit
Description copied from interface:ICallVisitor
Called before a method call.- Specified by:
preCallVisit
in interfaceICallVisitor
- Parameters:
callId
- the ID of the call
-
postCallVisit
Description copied from interface:ICallVisitor
Called after a method call.- Specified by:
postCallVisit
in interfaceICallVisitor
- Parameters:
callId
- the ID of the call
-