Class CPSTimer


  • public class CPSTimer
    extends GenericTimer
    Helper class to enable to simple performance measurements of configuration and pricing engine 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
      CPSTimer()  
    • 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

      • CPSTimer

        public CPSTimer()
    • 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