Class TimeTracker

  • public final class TimeTracker
    extends java.lang.Object
    A container for storing time stamps throughout the lifetime of an Execution instance.

    Check state both when entering and exiting, to allow for arbitrary new queries anywhere inside a search chain.

    Steinar Knutsen
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  TimeTracker.Activity  
    • Constructor Summary

      Constructor Description
      TimeTracker​(<? extends> searchChain, int entryIndex)  
      TimeTracker​(<? extends Searcher> searchChain)  
    • Constructor Detail

      • TimeTracker

        public TimeTracker​(<? extends Searcher> searchChain)
      • TimeTracker

        public TimeTracker​(<? extends> searchChain,
                           int entryIndex)
    • Method Detail

      • fillTime

        public long fillTime()
      • first

        public long first()
      • firstFill

        public long firstFill()
      • last

        public long last()
      • pingTime

        public long pingTime()
      • sampleFill

        public void sampleFill​(int searcherIndex,
                               boolean detailed)
      • sampleFillReturn

        public void sampleFillReturn​(int searcherIndex,
                                     boolean detailed,
                                     Result annotationReference)
      • samplePing

        public void samplePing​(int searcherIndex,
                               boolean detailed)
      • samplePingReturn

        public void samplePingReturn​(int searcherIndex,
                                     boolean detailed,
                                     Pong annotationReference)
      • sampleSearch

        public void sampleSearch​(int searcherIndex,
                                 boolean detailed)
      • sampleSearchReturn

        public void sampleSearchReturn​(int searcherIndex,
                                       boolean detailed,
                                       Result annotationReference)
      • searchTime

        public long searchTime()
      • totalTime

        public long totalTime()