public interface MetricsHandler
| Modifier and Type | Method and Description |
|---|---|
void |
addErrorRequestTime(java.lang.Throwable e,
long millis)
Called when a request has failed
|
void |
addSuccessRequestTime(long millis)
Called when a request was successful
|
void addSuccessRequestTime(long millis)
millis - time spent for request in millisvoid addErrorRequestTime(java.lang.Throwable e,
long millis)
e - An exception as a Throwable objectmillis - time spent for request in millisCopyright © 2023. All rights reserved.