Class CPSTimer
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.runtime.interf.impl.GenericTimer
-
- de.hybris.platform.sap.productconfig.runtime.cps.impl.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.LoggergetLogger()protected java.lang.StringgetMeasuredDomainName()-
Methods inherited from class de.hybris.platform.sap.productconfig.runtime.interf.impl.GenericTimer
logTime, start, stop
-
-
-
-
Method Detail
-
getLogger
protected org.apache.log4j.Logger getLogger()
- Specified by:
getLoggerin classGenericTimer
-
getMeasuredDomainName
protected java.lang.String getMeasuredDomainName()
- Specified by:
getMeasuredDomainNamein classGenericTimer- Returns:
- name of the framework/domain for which the class are measured
-
-