Class PCITimer


  • public class PCITimer
    extends GenericTimer
    Helper class to enable to simple performance measurements of analytics service calls. It will simple trace the duration of every service call and log it with DEBUG severity.
    Set the LogLevel for this class to debug to enable the measurement.
    • Constructor Summary

      Constructors 
      Constructor Description
      PCITimer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.log4j.Logger getLogger()  
      protected java.lang.String getMeasuredDomainName()  
      • Methods inherited from class java.lang.Object

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

      • PCITimer

        public PCITimer()
    • Method Detail

      • getLogger

        protected org.apache.log4j.Logger getLogger()
        Specified by:
        getLogger in class GenericTimer
      • getMeasuredDomainName

        protected java.lang.String getMeasuredDomainName()
        Specified by:
        getMeasuredDomainName in class GenericTimer
        Returns:
        name of the framework/domain for which the class are measured