public class StatsResponse extends ServiceResponse
{
"id": "ZP1oVevzLGu4CBORMXKKke",
"name": "Service1",
"version": "0.0.1",
"endpoints": [{
"name": "SortEndpointAscending",
"subject": "sort.ascending",
"num_requests": 1,
"processing_time": 538900,
"average_processing_time": 538900,
"started": "2023-08-15T13:51:41.318000000Z"
}, {
"name": "SortEndpointDescending",
"subject": "sort.descending",
"num_requests": 1,
"processing_time": 88400,
"average_processing_time": 88400,
"started": "2023-08-15T13:51:41.318000000Z"
}, {
"name": "EchoEndpoint",
"subject": "echo",
"num_requests": 5,
"processing_time": 1931600,
"average_processing_time": 386320,
"data": {
"idata": 2,
"sdata": "s-996409223"
},
"started": "2023-08-15T13:51:41.318000000Z"
}],
"started": "2023-08-15T13:51:41.319000000Z",
"type": "io.nats.micro.v1.stats_response"
}
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<EndpointStats> |
getEndpointStatsList()
Get the list of
EndpointStats |
java.time.ZonedDateTime |
getStarted()
Get the time the service was started
|
int |
hashCode() |
protected void |
subToJson(java.lang.StringBuilder sb) |
getId, getMetadata, getName, getType, getVersion, parseMessage, toJson, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitserialize, toJsonValuepublic static final java.lang.String TYPE
protected void subToJson(java.lang.StringBuilder sb)
subToJson in class ServiceResponsepublic java.time.ZonedDateTime getStarted()
public java.util.List<EndpointStats> getEndpointStatsList()
EndpointStatspublic boolean equals(java.lang.Object o)
equals in class ServiceResponsepublic int hashCode()
hashCode in class ServiceResponse