Interface SampleMonitor

  • All Implemented Interfaces:

    
    public interface SampleMonitor
    
                        

    Allows notification just before and just after a sample is invoked. Intended for the SampleTimeout test element

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void sampleStarting(Sampler sampler) Will be called when a sample is about to start
      abstract void sampleEnded(Sampler sampler) Will be called when a sample has just finished
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • sampleStarting

         abstract void sampleStarting(Sampler sampler)

        Will be called when a sample is about to start

        Parameters:
        sampler - sample that will be started
      • sampleEnded

         abstract void sampleEnded(Sampler sampler)

        Will be called when a sample has just finished

        Parameters:
        sampler - finished sample