@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(com.google.common.base.Stopwatch dbReqWatch) |
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()
public static void logDbRequest(com.google.common.base.Stopwatch dbReqWatch)
public static void setKey(String key)
Copyright © 2003–2017 Atlassian. All rights reserved.