instead@Deprecated public class UtilTimerStack extends Object
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 and Description |
|---|
UtilTimerStack()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
add(ProfilingStrategy strategy)
Deprecated.
|
static StackProfilingStrategy |
getDefaultStrategy()
Deprecated.
|
static boolean |
isActive()
Deprecated.
|
static void |
pop(String name)
Deprecated.
|
static void |
push(String name)
Deprecated.
|
static void |
remove(ProfilingStrategy strategy)
Deprecated.
|
public static void add(ProfilingStrategy strategy)
public static StackProfilingStrategy getDefaultStrategy()
public static boolean isActive()
public static void pop(String name)
public static void push(String name)
public static void remove(ProfilingStrategy strategy)
Copyright © 2019 Atlassian. All rights reserved.