Class StackProfilingStrategy

java.lang.Object
com.atlassian.util.profiling.strategy.impl.StackProfilingStrategy
All Implemented Interfaces:
ProfilingStrategy

@Deprecated public class StackProfilingStrategy extends Object implements ProfilingStrategy
Deprecated.
in 3.0 for removal in 5.0. Use StackProfilerStrategy and Timers instead.
Default profiling strategy, which is included into UtilTimerStack by default. Before version 2.0 that was the only one available profiling functionality of the UtilTimerStack
Since:
2.0
  • Constructor Details

    • StackProfilingStrategy

      public StackProfilingStrategy()
      Deprecated.
    • StackProfilingStrategy

      public StackProfilingStrategy(@Nonnull StackProfilerStrategy delegate)
      Deprecated.
  • Method Details

    • getLogger

      public UtilTimerLogger getLogger()
      Deprecated.
    • getMaxFrameCount

      public int getMaxFrameCount()
      Deprecated.
    • getMinTime

      public long getMinTime()
      Deprecated.
    • getMinTotalTime

      public long getMinTotalTime()
      Deprecated.
    • isEnabled

      public boolean isEnabled()
      Deprecated.
      Description copied from interface: ProfilingStrategy
      Return true if this strategy is enabled, false otherwise.
      Specified by:
      isEnabled in interface ProfilingStrategy
      Returns:
      true if this strategy is enabled, false otherwise.
    • isProfileMemory

      public boolean isProfileMemory()
      Deprecated.
    • setConfiguredMaxFrameCount

      public void setConfiguredMaxFrameCount(int value)
      Deprecated.
    • setConfiguredMinTime

      public void setConfiguredMinTime(long value)
      Deprecated.
    • setConfiguredMinTotalTime

      public void setConfiguredMinTotalTime(long value)
      Deprecated.
    • setEnabled

      public void setEnabled(boolean value)
      Deprecated.
    • setLogger

      public void setLogger(@Nonnull UtilTimerLogger logger)
      Deprecated.
    • setProfileMemoryFlag

      public void setProfileMemoryFlag(boolean value)
      Deprecated.
    • start

      public void start(String name)
      Deprecated.
      Description copied from interface: ProfilingStrategy
      This method is called on a start of the code snippet profiling
      Specified by:
      start in interface ProfilingStrategy
      Parameters:
      name - name
    • stop

      public void stop(String name)
      Deprecated.
      Description copied from interface: ProfilingStrategy
      This method is called on a stop of the code snippet profiling
      Specified by:
      stop in interface ProfilingStrategy
      Parameters:
      name - name