Package ru.curs.celesta.dbutils
Class ProfilingManager
- java.lang.Object
-
- ru.curs.celesta.dbutils.ProfilingManager
-
-
Constructor Summary
Constructors Constructor Description ProfilingManager(Celesta celesta)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isProfilemode()
Whether the profiling mode is on (is the procedures call time logged to calllog table.void
logCall(CallContext context)
Logs information on the call to the profiler.void
setProfilemode(boolean profilemode)
Sets the profiling mode.
-
-
-
Constructor Detail
-
ProfilingManager
public ProfilingManager(Celesta celesta)
-
-
Method Detail
-
logCall
public void logCall(CallContext context)
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)
-
-