public class QueryExperience extends Object
Constructor and Description |
---|
QueryExperience() |
Modifier and Type | Method and Description |
---|---|
int |
endpointId()
Get the id of the endpoint from the 'endpoints' array which these queries were routed to.
|
Double |
latency()
Get the latency experienced by queries originating from this location.
|
int |
queryCount()
Get the number of queries originating from this location.
|
QueryExperience |
withEndpointId(int endpointId)
Set the id of the endpoint from the 'endpoints' array which these queries were routed to.
|
QueryExperience |
withLatency(Double latency)
Set the latency experienced by queries originating from this location.
|
QueryExperience |
withQueryCount(int queryCount)
Set the number of queries originating from this location.
|
public int endpointId()
public QueryExperience withEndpointId(int endpointId)
endpointId
- the endpointId value to setpublic int queryCount()
public QueryExperience withQueryCount(int queryCount)
queryCount
- the queryCount value to setpublic Double latency()
public QueryExperience withLatency(Double latency)
latency
- the latency value to setCopyright © 2019. All rights reserved.