Class ProfilingManager

java.lang.Object
ru.curs.celesta.dbutils.ProfilingManager
All Implemented Interfaces:
IProfiler

public final class ProfilingManager extends Object implements IProfiler
Call profiling manager.
  • Constructor Details

    • ProfilingManager

      public ProfilingManager(Celesta celesta)
  • Method Details

    • logCall

      public void logCall(CallContext context)
      Logs information on the call to the profiler.
      Specified by:
      logCall in interface IProfiler
      Parameters:
      context - call context
    • 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)