public class Profiler extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_ENTRY_SIZE |
static String |
PROFILER_KEY |
| Constructor and Description |
|---|
Profiler() |
| Modifier and Type | Method and Description |
|---|---|
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 String PROFILER_KEY
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–2020 The Apache Software Foundation. All rights reserved.