Class GenericTimer

  • Direct Known Subclasses:
    CPSTimer, PCITimer, SSCTimer

    public abstract class GenericTimer
    extends java.lang.Object
    geneic class for call time measurements
    • Constructor Summary

      Constructors 
      Constructor Description
      GenericTimer()
      Default Constructor, will initiate the measurement.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract org.apache.log4j.Logger getLogger()  
      protected abstract java.lang.String getMeasuredDomainName()  
      protected void logTime()  
      void start​(java.lang.String step)
      Will re-initiate the measurement.
      void stop()
      Stops the measurement and logs the result.
      • Methods inherited from class java.lang.Object

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

      • GenericTimer

        public GenericTimer()
        Default Constructor, will initiate the measurement.
    • Method Detail

      • getLogger

        protected abstract org.apache.log4j.Logger getLogger()
      • stop

        public void stop()
        Stops the measurement and logs the result.
      • logTime

        protected void logTime()
      • getMeasuredDomainName

        protected abstract java.lang.String getMeasuredDomainName()
        Returns:
        name of the framework/domain for which the class are measured
      • start

        public void start​(java.lang.String step)
        Will re-initiate the measurement.
        Parameters:
        step - name of the configuration engine call, will be logged together with the result.