Class StackProfilingStrategy
java.lang.Object
com.atlassian.util.profiling.strategy.impl.StackProfilingStrategy
- All Implemented Interfaces:
ProfilingStrategy
Deprecated.
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 Summary
ConstructorsConstructorDescriptionDeprecated.StackProfilingStrategy(StackProfilerStrategy delegate) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.intDeprecated.longDeprecated.longDeprecated.booleanDeprecated.Returntrueif this strategy is enabled,falseotherwise.booleanDeprecated.voidsetConfiguredMaxFrameCount(int value) Deprecated.voidsetConfiguredMinTime(long value) Deprecated.voidsetConfiguredMinTotalTime(long value) Deprecated.voidsetEnabled(boolean value) Deprecated.voidsetLogger(UtilTimerLogger logger) Deprecated.voidsetProfileMemoryFlag(boolean value) Deprecated.voidDeprecated.This method is called on a start of the code snippet profilingvoidDeprecated.This method is called on a stop of the code snippet profiling
-
Constructor Details
-
StackProfilingStrategy
public StackProfilingStrategy()Deprecated. -
StackProfilingStrategy
Deprecated.
-
-
Method Details
-
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:ProfilingStrategyReturntrueif this strategy is enabled,falseotherwise.- Specified by:
isEnabledin interfaceProfilingStrategy- Returns:
trueif this strategy is enabled,falseotherwise.
-
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
Deprecated. -
setProfileMemoryFlag
public void setProfileMemoryFlag(boolean value) Deprecated. -
start
Deprecated.Description copied from interface:ProfilingStrategyThis method is called on a start of the code snippet profiling- Specified by:
startin interfaceProfilingStrategy- Parameters:
name- name
-
stop
Deprecated.Description copied from interface:ProfilingStrategyThis method is called on a stop of the code snippet profiling- Specified by:
stopin interfaceProfilingStrategy- Parameters:
name- name
-
StackProfilerStrategyandTimersinstead.