public interface ObservedDuration
SimpleMetricsSphereClient.execute(SphereRequest).SimpleMetricsSphereClient| Modifier and Type | Method and Description |
|---|---|
Long |
getDurationInMilliseconds()
The duration in milliseconds.
|
SphereRequest<?> |
getRequest()
The sphere request related to the observed duration.
|
String |
getRequestId()
The
SimpleMetricsSphereClient adds a request ID to each SphereRequest, so that ObservedDurations belonging to the same request can be associated.. |
String |
getTopic()
A String to describe the topic associated with the observed duration (e.g.
|
Long getDurationInMilliseconds()
String getRequestId()
SimpleMetricsSphereClient adds a request ID to each SphereRequest, so that ObservedDurations belonging to the same request can be associated..
This is necessary since a SphereRequest can be reused for multiple requests.
String getTopic()
SphereRequest<?> getRequest()