public class ApiCallMonitoringEvent extends ApiMonitoringEvent
| Modifier and Type | Field and Description | 
|---|---|
| static String | API_CALL_MONITORING_EVENT_TYPE | 
| Constructor and Description | 
|---|
| ApiCallMonitoringEvent() | 
| Modifier and Type | Method and Description | 
|---|---|
| Integer | getAttemptCount() | 
| Long | getLatency() | 
| String | getType() | 
| ApiCallMonitoringEvent | withApi(String api)Sets the api | 
| ApiCallMonitoringEvent | withAttemptCount(Integer attemptCount)Sets the attemptCount | 
| ApiCallMonitoringEvent | withClientId(String clientId)Sets the clientId | 
| ApiCallMonitoringEvent | withLatency(Long latency)Sets the latency | 
| ApiCallMonitoringEvent | withService(String service)Sets the service against which the call is being made. | 
| ApiCallMonitoringEvent | withTimestamp(Long timestamp)Sets the timestamp, in milliseconds, since January 1st, 1970, for the time point at which the event. | 
| ApiCallMonitoringEvent | withVersion(Integer version)Sets the version. | 
getApi, getClientId, getService, getTimestamp, getVersionpublic static final String API_CALL_MONITORING_EVENT_TYPE
public ApiCallMonitoringEvent withApi(String api)
ApiMonitoringEventwithApi in class ApiMonitoringEventapi - The new api value.public ApiCallMonitoringEvent withVersion(Integer version)
ApiMonitoringEventwithVersion in class ApiMonitoringEventversion - the new version value.public ApiCallMonitoringEvent withService(String service)
ApiMonitoringEventwithService in class ApiMonitoringEventservice - The new service value.public ApiCallMonitoringEvent withClientId(String clientId)
ApiMonitoringEventwithClientId in class ApiMonitoringEventclientId - The new clientId value.public ApiCallMonitoringEvent withTimestamp(Long timestamp)
This is when the request is first seen by the service client.
withTimestamp in class ApiMonitoringEventtimestamp - The new timestamp value.public Integer getAttemptCount()
public ApiCallMonitoringEvent withAttemptCount(Integer attemptCount)
attemptCount - The new attemptCount value.public Long getLatency()
public ApiCallMonitoringEvent withLatency(Long latency)
latency - The new latency value.public String getType()
getType in class ApiMonitoringEventCopyright © 2018. All rights reserved.