| Modifier and Type | Field and Description |
|---|---|
| pack-priv transient int | |
| pack-priv transient int | |
| pack-priv transient long | |
| pack-priv transient long | |
| pack-priv transient long | |
| pack-priv transient int | |
| pack-priv transient int | |
| pack-priv transient long | |
| pack-priv transient long | |
| pack-priv transient long | |
| pack-priv transient int | |
| pack-priv transient int | |
| pack-priv transient int | |
| pack-priv transient int | |
| pack-priv transient int | |
| pack-priv transient int | |
| pack-priv transient int | |
| pack-priv transient long | |
| pack-priv transient long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | complete(Request
the request which has just completed request)Implements org. |
| protected void | |
| protected void | |
| public int | Returns: Get the number of requests handled by this context since last call of statsReset(), not counting resumed requests. If setStatsOn(false) then this is undefined.
|
| public int | |
| public long | Returns: Average duration of request handling in milliseconds since statsReset() called. Undefined if setStatsOn(false).
|
| public long | Returns: Get maximum duration in milliseconds of request handling since statsReset() called. Undefined if setStatsOn(false).
|
| public long | |
| public long | |
| public int | Returns: Maximum number of active requests since statsReset() called. Undefined if setStatsOn(false).
|
| public int | |
| public long | Returns: Average duration of request handling in milliseconds since statsReset() called. Undefined if setStatsOn(false).
|
| public long | Returns: Get maximum duration in milliseconds of request handling since statsReset() called. Undefined if setStatsOn(false).
|
| public long | |
| public long | |
| public int | Returns: Number of requests that have been resumed. Undefined if setStatsOn(false).
|
| public int | Returns: Number of requests that timed out while suspended. Undefined if setStatsOn(false).
|
| public int | Returns: Get the number of responses with a 2xx status returned by this context since last call of statsReset(). Undefined if if setStatsOn(false).
|
| public int | Returns: Get the number of responses with a 100 status returned by this context since last call of statsReset(). Undefined if if setStatsOn(false).
|
| public int | Returns: Get the number of responses with a 3xx status returned by this context since last call of statsReset(). Undefined if if setStatsOn(false).
|
| public int | Returns: Get the number of responses with a 4xx status returned by this context since last call of statsReset(). Undefined if if setStatsOn(false).
|
| public int | Returns: Get the number of responses with a 5xx status returned by this context since last call of statsReset(). Undefined if if setStatsOn(false).
|
| public long | |
| public long | |
| public void | handle(String
The target of the request - either a URI or a name. target, HttpServletRequest The request either as the request, HttpServletResponse Request
object or a wrapper of that request. The HttpConnection#getCurrentConnection()
method can be used access the Request object if required.The response as the response, int dispatch)Response
object or a wrapper of that request. The HttpConnection#getCurrentConnection()
method can be used access the Response object if required.Overrides org. Implements org. |
| public void |
| _requests | back to summary |
|---|---|
| pack-priv transient int _requests | |
| _requestsActive | back to summary |
|---|---|
| pack-priv transient int _requestsActive | |
| _requestsActiveDurationMax | back to summary |
|---|---|
| pack-priv transient long _requestsActiveDurationMax | |
| _requestsActiveDurationMin | back to summary |
|---|---|
| pack-priv transient long _requestsActiveDurationMin | |
| _requestsActiveDurationTotal | back to summary |
|---|---|
| pack-priv transient long _requestsActiveDurationTotal | |
| _requestsActiveMax | back to summary |
|---|---|
| pack-priv transient int _requestsActiveMax | |
| _requestsActiveMin | back to summary |
|---|---|
| pack-priv transient int _requestsActiveMin | |
| _requestsDurationMax | back to summary |
|---|---|
| pack-priv transient long _requestsDurationMax | |
| _requestsDurationMin | back to summary |
|---|---|
| pack-priv transient long _requestsDurationMin | |
| _requestsDurationTotal | back to summary |
|---|---|
| pack-priv transient long _requestsDurationTotal | |
| _requestsResumed | back to summary |
|---|---|
| pack-priv transient int _requestsResumed | |
| _requestsTimedout | back to summary |
|---|---|
| pack-priv transient int _requestsTimedout | |
| _responses1xx | back to summary |
|---|---|
| pack-priv transient int _responses1xx | |
| _responses2xx | back to summary |
|---|---|
| pack-priv transient int _responses2xx | |
| _responses3xx | back to summary |
|---|---|
| pack-priv transient int _responses3xx | |
| _responses4xx | back to summary |
|---|---|
| pack-priv transient int _responses4xx | |
| _responses5xx | back to summary |
|---|---|
| pack-priv transient int _responses5xx | |
| _responsesBytesTotal | back to summary |
|---|---|
| pack-priv transient long _responsesBytesTotal | |
| _statsStartedAt | back to summary |
|---|---|
| pack-priv transient long _statsStartedAt | |
| StatisticsHandler | back to summary |
|---|---|
| public StatisticsHandler() | |
| addRequestsDurationTotal | back to summary |
|---|---|
| private void addRequestsDurationTotal(long duration) | |
| complete | back to summary |
|---|---|
| public void complete(Request request) Implements org. Handle completed requests.
| |
| doStart | back to summary |
|---|---|
| protected void doStart() throws Exception | |
| doStop | back to summary |
|---|---|
| protected void doStop() throws Exception | |
| getRequests | back to summary |
|---|---|
public int getRequests()
| |
| getRequestsActive | back to summary |
|---|---|
public int getRequestsActive()
| |
| getRequestsActiveDurationAve | back to summary |
|---|---|
public long getRequestsActiveDurationAve()
| |
| getRequestsActiveDurationMax | back to summary |
|---|---|
public long getRequestsActiveDurationMax()
| |
| getRequestsActiveDurationMin | back to summary |
|---|---|
public long getRequestsActiveDurationMin()
| |
| getRequestsActiveDurationTotal | back to summary |
|---|---|
public long getRequestsActiveDurationTotal()
| |
| getRequestsActiveMax | back to summary |
|---|---|
public int getRequestsActiveMax()
| |
| getRequestsActiveMin | back to summary |
|---|---|
public int getRequestsActiveMin()
| |
| getRequestsDurationAve | back to summary |
|---|---|
public long getRequestsDurationAve()
| |
| getRequestsDurationMax | back to summary |
|---|---|
public long getRequestsDurationMax()
| |
| getRequestsDurationMin | back to summary |
|---|---|
public long getRequestsDurationMin()
| |
| getRequestsDurationTotal | back to summary |
|---|---|
public long getRequestsDurationTotal()
| |
| getRequestsResumed | back to summary |
|---|---|
public int getRequestsResumed()
| |
| getRequestsTimedout | back to summary |
|---|---|
public int getRequestsTimedout()
| |
| getResponses1xx | back to summary |
|---|---|
public int getResponses1xx()
| |
| getResponses2xx | back to summary |
|---|---|
public int getResponses2xx()
| |
| getResponses3xx | back to summary |
|---|---|
public int getResponses3xx()
| |
| getResponses4xx | back to summary |
|---|---|
public int getResponses4xx()
| |
| getResponses5xx | back to summary |
|---|---|
public int getResponses5xx()
| |
| getResponsesBytesTotal | back to summary |
|---|---|
public long getResponsesBytesTotal()
| |
| getStatsOnMs | back to summary |
|---|---|
public long getStatsOnMs()
| |
| handle | back to summary |
|---|---|
| public void handle(String target, HttpServletRequest request, HttpServletResponse response, int dispatch) throws IOException, ServletException Overrides org. Implements org. Doc from org. Handle a request.
| |
| statsReset | back to summary |
|---|---|
| public void statsReset() | |