Class ExtraQueryTime


  • public class ExtraQueryTime
    extends java.lang.Object
    An object that holds information about extra queries run during the ResultsConverter operation.
    Author:
    Matthew Wakeling
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtraQueryTime()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addTime​(long time)
      Adds statistics for an executed query to this object.
      long getQueryTime()
      Returns the total amount of time spent in extra queries, in milliseconds.
      • Methods inherited from class java.lang.Object

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

      • ExtraQueryTime

        public ExtraQueryTime()
        Constructor.
    • Method Detail

      • addTime

        public void addTime​(long time)
        Adds statistics for an executed query to this object.
        Parameters:
        time - the time taken in milliseconds for the query
      • getQueryTime

        public long getQueryTime()
        Returns the total amount of time spent in extra queries, in milliseconds.
        Returns:
        a long