Class 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 Detail

      • ExperimentVisitor

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

      • 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