Package com.arangodb
Interface QueueTimeMetrics
-
@ThreadSafe public interface QueueTimeMetrics
Interface for accessing queue time latency metrics, reported by the "X-Arango-Queue-Time-Seconds" response header. This header contains the most recent request (de)queuing time (in seconds) as tracked by the server’s scheduler.- Since:
- ArangoDB 3.9
- Author:
- Michele Rastelli
- See Also:
- API Documentation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getAvg()
QueueTimeSample[]
getValues()
-
-
-
Method Detail
-
getValues
QueueTimeSample[] getValues()
- Returns:
- all the n values observed
-
getAvg
double getAvg()
- Returns:
- the average of the last n values observed, 0.0 if no value has been observed (i.e. in ArangoDB versions prior to 3.9).
-
-