StackProfilerStrategy and
Timers instead.@Deprecated public class StackProfilingStrategy extends Object implements ProfilingStrategy
UtilTimerStack by default.
Before version 2.0 that was the only one available profiling functionality of the
UtilTimerStack| Constructor and Description |
|---|
StackProfilingStrategy()
Deprecated.
|
StackProfilingStrategy(StackProfilerStrategy delegate)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
UtilTimerLogger |
getLogger()
Deprecated.
|
int |
getMaxFrameCount()
Deprecated.
|
long |
getMinTime()
Deprecated.
|
long |
getMinTotalTime()
Deprecated.
|
boolean |
isEnabled()
Deprecated.
Return
true if this strategy is enabled, false otherwise. |
boolean |
isProfileMemory()
Deprecated.
|
void |
setConfiguredMaxFrameCount(int value)
Deprecated.
|
void |
setConfiguredMinTime(long value)
Deprecated.
|
void |
setConfiguredMinTotalTime(long value)
Deprecated.
|
void |
setEnabled(boolean value)
Deprecated.
|
void |
setLogger(UtilTimerLogger logger)
Deprecated.
|
void |
setProfileMemoryFlag(boolean value)
Deprecated.
|
void |
start(String name)
Deprecated.
This method is called on a start of the code snippet profiling
|
void |
stop(String name)
Deprecated.
This method is called on a stop of the code snippet profiling
|
public StackProfilingStrategy()
public StackProfilingStrategy(@Nonnull StackProfilerStrategy delegate)
public UtilTimerLogger getLogger()
public int getMaxFrameCount()
public long getMinTime()
public long getMinTotalTime()
public boolean isEnabled()
ProfilingStrategytrue if this strategy is enabled, false otherwise.isEnabled in interface ProfilingStrategytrue if this strategy is enabled, false otherwise.public boolean isProfileMemory()
public void setConfiguredMaxFrameCount(int value)
public void setConfiguredMinTime(long value)
public void setConfiguredMinTotalTime(long value)
public void setEnabled(boolean value)
public void setLogger(@Nonnull UtilTimerLogger logger)
public void setProfileMemoryFlag(boolean value)
public void start(String name)
ProfilingStrategystart in interface ProfilingStrategyname - namepublic void stop(String name)
ProfilingStrategystop in interface ProfilingStrategyname - nameCopyright © 2019 Atlassian. All rights reserved.