Package ru.curs.celesta.dbutils
Class ProfilingManager
java.lang.Object
ru.curs.celesta.dbutils.ProfilingManager
- All Implemented Interfaces:
IProfiler
Call profiling manager.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the profiling mode is on (is the procedures call time logged to calllog table.voidlogCall(CallContext context) Logs information on the call to the profiler.voidsetProfilemode(boolean profilemode) Sets the profiling mode.
-
Constructor Details
-
ProfilingManager
-
-
Method Details
-
logCall
Logs information on the call to the profiler. -
isProfilemode
public boolean isProfilemode()Whether the profiling mode is on (is the procedures call time logged to calllog table.- Returns:
-
setProfilemode
public void setProfilemode(boolean profilemode) Sets the profiling mode.- Parameters:
profilemode- profiling mode flag (true- on,false- off)
-