public class RequestMetrics extends Object
Constructor and Description |
---|
RequestMetrics() |
Modifier and Type | Method and Description |
---|---|
void |
beginRequest() |
void |
endRequest() |
int |
getAverageExecutionTimeForLastTenRequests() |
int |
getCurrentNumberOfRequestsBeingServed() |
int |
getErrorCount() |
int |
getNumberOfRequestsInLastTenSeconds() |
int |
getRequestsBegan() |
int |
getRequestsServed() |
static void |
incrementErrorCount() |
void |
recordRequestTime(long requestTime) |
public int getRequestsServed()
public int getRequestsBegan()
public void beginRequest()
public void endRequest()
public int getCurrentNumberOfRequestsBeingServed()
public int getAverageExecutionTimeForLastTenRequests()
public int getNumberOfRequestsInLastTenSeconds()
public void recordRequestTime(long requestTime)
public static void incrementErrorCount()
public int getErrorCount()
Copyright © 2003–2021 Atlassian. All rights reserved.