public class Profiler extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
MAX_ENTRY_SIZE |
static String |
PROFILER_KEY |
| 构造器和说明 |
|---|
Profiler() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
buildDetail(ProfilerEntry entry) |
static List<String> |
buildDetail(ProfilerEntry entry,
long startTime,
long totalUsageTime,
int depth) |
static ProfilerEntry |
enter(ProfilerEntry entry,
String message) |
static ProfilerEntry |
getBizProfiler() |
static ProfilerEntry |
release(ProfilerEntry entry) |
static void |
removeBizProfiler() |
static ProfilerEntry |
setToBizProfiler(ProfilerEntry entry) |
static ProfilerEntry |
start(String message) |
public static final int MAX_ENTRY_SIZE
public static ProfilerEntry start(String message)
public static ProfilerEntry enter(ProfilerEntry entry, String message)
public static ProfilerEntry release(ProfilerEntry entry)
public static ProfilerEntry setToBizProfiler(ProfilerEntry entry)
public static ProfilerEntry getBizProfiler()
public static void removeBizProfiler()
public static String buildDetail(ProfilerEntry entry)
public static List<String> buildDetail(ProfilerEntry entry, long startTime, long totalUsageTime, int depth)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.