Package com.atlassian.util.profiling
Class UtilTimerStack
java.lang.Object
com.atlassian.util.profiling.UtilTimerStack
Deprecated.
A timer stack.
Usage:
String logMessage = "Log message";
UtilTimerStack.push(logMessage);
try {
//do some code
} finally {
UtilTimerStack.pop(logMessage); //this needs to be the same text as above
}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidadd(ProfilingStrategy strategy) Deprecated.static StackProfilingStrategyDeprecated.static booleanisActive()Deprecated.static voidDeprecated.static voidDeprecated.static voidremove(ProfilingStrategy strategy) Deprecated.
-
Constructor Details
-
UtilTimerStack
public UtilTimerStack()Deprecated.
-
-
Method Details
-
add
Deprecated. -
getDefaultStrategy
Deprecated. -
isActive
public static boolean isActive()Deprecated. -
pop
Deprecated. -
push
Deprecated. -
remove
Deprecated.
-
instead