@Deprecated public interface MessageStatistics
Modifier and Type | Interface and Description |
---|---|
static class |
MessageStatistics.Status
Deprecated.
The message status
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getHolder()
Deprecated.
|
String |
getId()
Deprecated.
Gets the identifier of the message statistics, usually the received message UUID
|
void |
recordEndpointResponse(double endpointLatency)
Deprecated.
Records an endpoint response into the message statistics
|
MessageStatistics |
recordExtra(String key,
String value)
Deprecated.
Records any extra information into the message statistics
|
void |
recordResponse(Message message)
Deprecated.
Records the information of the response went back to the caller
|
void |
setId(String id)
Deprecated.
Sets the identifier of this message
|
void |
setResponseCode(int responseCode)
Deprecated.
Sets the response Code of the response sent back to the caller
|
Map<String,Object> |
toMap()
Deprecated.
Maps the message statistics information into a map of type
Map<String, Object> |
MessageStatistics recordExtra(String key, String value)
key
- the key of the extra informationvalue
- the value of the extra informationvoid recordEndpointResponse(double endpointLatency)
endpointLatency
- the endpoint latency tobe recordedvoid recordResponse(Message message)
message
- the response message sent outMap<String,Object> toMap()
Map<String, Object>
String getId()
void setId(String id)
id
- the identifier of this transactionvoid setResponseCode(int responseCode)
responseCode
- the response code to be setCopyright © 2010–2016 AdroitLogic. All rights reserved.