public class RequestTransactionMetrics extends Object
| Constructor and Description |
|---|
RequestTransactionMetrics() |
| Modifier and Type | Method and Description |
|---|---|
RequestTransactionMetrics |
addHeaderValues(String correlationId,
long timeTaken,
int noOfRetries)
Adds Header Values from response object of previous request
|
long |
getComputeTime() |
String |
getResponseCorrelationId() |
int |
getRetryCount() |
long |
getRoundaboutTime() |
String |
getTelemetryHeaderValue() |
void |
setComputeTime(long computeTime) |
void |
setResponseCorrelationId(String responseCorrelationId) |
void |
setRetryCount(int retryCount) |
void |
setRoundaboutTime(long roundaboutTime) |
public String getResponseCorrelationId()
public long getRoundaboutTime()
public long getComputeTime()
public int getRetryCount()
public void setResponseCorrelationId(String responseCorrelationId)
responseCorrelationId - the responseCorrelationId to setpublic void setRoundaboutTime(long roundaboutTime)
roundaboutTime - the roundaboutTime to setpublic void setComputeTime(long computeTime)
computeTime - the computeTime to setpublic void setRetryCount(int retryCount)
retryCount - the retryCount to setpublic String getTelemetryHeaderValue()
public RequestTransactionMetrics addHeaderValues(String correlationId, long timeTaken, int noOfRetries)
correlationId - The correlation ID from the previous responsetimeTaken - The time taken by the SDK to create the request before sendingnoOfRetries - The number of retries made by the previous request chainCopyright © 2022. All rights reserved.