类 Profiler
- java.lang.Object
-
- org.apache.dubbo.common.profiler.Profiler
-
public class Profiler extends Object
-
-
字段概要
字段 修饰符和类型 字段 说明 static intMAX_ENTRY_SIZEstatic StringPROFILER_KEY
-
构造器概要
构造器 构造器 说明 Profiler()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static StringbuildDetail(ProfilerEntry entry)static List<String>buildDetail(ProfilerEntry entry, long startTime, long totalUsageTime, int depth)static ProfilerEntryenter(ProfilerEntry entry, String message)static ProfilerEntrygetBizProfiler()static ProfilerEntryrelease(ProfilerEntry entry)static voidremoveBizProfiler()static ProfilerEntrysetToBizProfiler(ProfilerEntry entry)static ProfilerEntrystart(String message)
-
-
-
方法详细资料
-
start
public static ProfilerEntry start(String message)
-
enter
public static ProfilerEntry enter(ProfilerEntry entry, String message)
-
release
public static ProfilerEntry release(ProfilerEntry entry)
-
setToBizProfiler
public static ProfilerEntry setToBizProfiler(ProfilerEntry entry)
-
getBizProfiler
public static ProfilerEntry getBizProfiler()
-
removeBizProfiler
public static void removeBizProfiler()
-
buildDetail
public static String buildDetail(ProfilerEntry entry)
-
buildDetail
public static List<String> buildDetail(ProfilerEntry entry, long startTime, long totalUsageTime, int depth)
-
-