Interface SampleListener

  • All Implemented Interfaces:

    
    public interface SampleListener
    
                        

    Allows notification on events occurring during the sampling process. Specifically, when sampling is started, when a specific sample is obtained, and when sampling is stopped.

    • 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 sampleOccurred(SampleEvent e) A sample has started and stopped.
      abstract void sampleStarted(SampleEvent e) A sample has started.
      abstract void sampleStopped(SampleEvent e) A sample has stopped.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait