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 Details

    • ExperimentVisitor

      public ExperimentVisitor()
      Constructs a new ExperimentVisitor object.
  • Method Details

    • preCallVisit

      public void preCallVisit(String callId)
      Description copied from interface: ICallVisitor
      Called before a method call.
      Specified by:
      preCallVisit in interface ICallVisitor
      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 interface ICallVisitor
      Parameters:
      callId - the ID of the call