@ParametersAreNonnullByDefault public class HttpRequestStats extends Object
Modifier and Type | Method and Description |
---|---|
static Optional<HttpRequestStats> |
addTimingEvent(String tag,
long millis) |
static void |
elapse(String tag) |
static void |
logDbRequest(Duration duration) |
static void |
logDbRequest(com.google.common.base.Stopwatch dbReqWatch)
Deprecated.
since 7.0.1. Use
logDbRequest(Duration) |
static void |
setKey(String key) |
static void |
start(javax.servlet.http.HttpServletRequest request) |
static Optional<HttpRequestStatsEvent> |
stop() |
public static void start(javax.servlet.http.HttpServletRequest request)
public static void elapse(String tag)
public static Optional<HttpRequestStats> addTimingEvent(String tag, long millis)
public static Optional<HttpRequestStatsEvent> stop()
@Deprecated public static void logDbRequest(com.google.common.base.Stopwatch dbReqWatch)
logDbRequest(Duration)
public static void logDbRequest(Duration duration)
public static void setKey(String key)
Copyright © 2003–2019 Atlassian. All rights reserved.