Interface ProfilingStrategy

All Known Implementing Classes:
StackProfilingStrategy

@Deprecated public interface ProfilingStrategy
Deprecated.
in 3.0 for removal in 5.0. Use ProfilerStrategy and Timers instead.
Basic interface for profiling strategies, which are used in UtilTimerStack.
Since:
2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
    Return true if this strategy is enabled, false otherwise.
    void
    Deprecated.
    This method is called on a start of the code snippet profiling
    void
    stop(String tag)
    Deprecated.
    This method is called on a stop of the code snippet profiling
  • Method Details

    • isEnabled

      boolean isEnabled()
      Deprecated.
      Return true if this strategy is enabled, false otherwise.
      Returns:
      true if this strategy is enabled, false otherwise.
    • start

      void start(String tag)
      Deprecated.
      This method is called on a start of the code snippet profiling
      Parameters:
      tag - name
    • stop

      void stop(String tag)
      Deprecated.
      This method is called on a stop of the code snippet profiling
      Parameters:
      tag - name