|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.util.BambooProfilingUtils
public class BambooProfilingUtils
Constructor Summary | |
---|---|
BambooProfilingUtils()
|
Method Summary | ||
---|---|---|
static
|
withUtilTimerStack(java.lang.String message,
java.util.concurrent.Callable<T> callable)
Wrap a piece of logic with calls to @push and UtilTimerStack@pop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BambooProfilingUtils()
Method Detail |
---|
public static <T> T withUtilTimerStack(@NotNull java.lang.String message, java.util.concurrent.Callable<T> callable) throws java.lang.Exception
@push
and UtilTimerStack@pop
T
- Type of value returned by callablemessage
- Message to be put to UtilTimerStackcallable
- Code to be executed
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |