@FunctionalInterface public interface MetricContext
| Modifier and Type | Method and Description |
|---|---|
void |
complete(HttpResponseSummary httpResponse,
Exception ex)
Finishes a Http Request.
|
void complete(HttpResponseSummary httpResponse, Exception ex)
httpResponse - a summary of the just executed response or null in the case of a system exception.ex - an exception if one happened or null .
Note that this is not just a 500 from the remote,
but more likely a socket or connection timeout.Copyright © 2022. All rights reserved.