public class ProfilingInfo extends Object implements ResponseBody, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ProfilingInfo.ProfilingMode
Supported profiling mode in async-profiler.
|
static class |
ProfilingInfo.ProfilingStatus
Profiling Status.
|
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_DURATION |
static String |
FIELD_NAME_FINISHED_TIME |
static String |
FIELD_NAME_MESSAGE |
static String |
FIELD_NAME_MODE |
static String |
FIELD_NAME_OUTPUT_FILE |
static String |
FIELD_NAME_STATUS |
static String |
FIELD_NAME_TRIGGER_TIME |
Modifier and Type | Method and Description |
---|---|
static ProfilingInfo |
create(long duration,
ProfilingInfo.ProfilingMode mode) |
static ProfilingInfo |
create(ProfilingInfo.ProfilingStatus status,
ProfilingInfo.ProfilingMode mode,
long triggerTime,
long finishedTime,
long duration,
String message,
String outputPath) |
ProfilingInfo |
fail(String message) |
Long |
getDuration() |
Long |
getFinishedTime() |
String |
getMessage() |
String |
getOutputFile() |
ProfilingInfo.ProfilingMode |
getProfilingMode() |
ProfilingInfo.ProfilingStatus |
getStatus() |
long |
getTriggerTime() |
ProfilingInfo |
success(String outputFile) |
String |
toString() |
public static final String FIELD_NAME_STATUS
public static final String FIELD_NAME_MODE
public static final String FIELD_NAME_TRIGGER_TIME
public static final String FIELD_NAME_FINISHED_TIME
public static final String FIELD_NAME_DURATION
public static final String FIELD_NAME_MESSAGE
public static final String FIELD_NAME_OUTPUT_FILE
public ProfilingInfo fail(String message)
public ProfilingInfo success(String outputFile)
public ProfilingInfo.ProfilingStatus getStatus()
public ProfilingInfo.ProfilingMode getProfilingMode()
public Long getDuration()
public String getMessage()
public Long getFinishedTime()
public String getOutputFile()
public long getTriggerTime()
public static ProfilingInfo create(long duration, ProfilingInfo.ProfilingMode mode)
public static ProfilingInfo create(ProfilingInfo.ProfilingStatus status, ProfilingInfo.ProfilingMode mode, long triggerTime, long finishedTime, long duration, String message, String outputPath)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.