|
||||||||||
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
Method Summary | ||
---|---|---|
static java.lang.String |
getTimes(java.util.Map<java.lang.Object,java.lang.Long> profiledCalls,
int minimumDurationMs)
|
|
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 |
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
public static java.lang.String getTimes(@NotNull java.util.Map<java.lang.Object,java.lang.Long> profiledCalls, int minimumDurationMs)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |