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 booleanisProfilemode()Whether 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 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)
-
-