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