Package com.yahoo.vespa.curator.stats
Class LatencyMetrics
java.lang.Object
com.yahoo.vespa.curator.stats.LatencyMetrics
Metrics on the time interval associated with e.g. the acquiring of a lock.
In the language of LatencyStats
, these metrics relate to time intervals associated
with e.g. the acquiring of a lock, collected over time period.
- Author:
- hakon
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the number of active intervals right now.double
endHz()
Returns the average number of intervals that ended in the period per second.double
Returns the average latency of all intervals that ended in the period.double
load()
The average load of the implied time period, with 3 decimal places precision.Returns the average load of the implied time period, for each thread with non-zero load, with 3 decimal places precision.double
Return the maximum latency of any interval that ended in the period, or is still active.double
Returns the maximum latency of any interval that ended in the period.int
maxLoad()
Returns the maximum number of concurrently active intervals in the period.double
startHz()
Returns the average number of intervals that started in the period per second.toString()
-
Constructor Details
-
LatencyMetrics
-
-
Method Details
-
latencySeconds
public double latencySeconds()Returns the average latency of all intervals that ended in the period. -
maxLatencySeconds
public double maxLatencySeconds()Returns the maximum latency of any interval that ended in the period. -
maxActiveLatencySeconds
public double maxActiveLatencySeconds()Return the maximum latency of any interval that ended in the period, or is still active. -
startHz
public double startHz()Returns the average number of intervals that started in the period per second. -
endHz
public double endHz()Returns the average number of intervals that ended in the period per second. -
loadByThread
Returns the average load of the implied time period, for each thread with non-zero load, with 3 decimal places precision. -
load
public double load()The average load of the implied time period, with 3 decimal places precision. -
maxLoad
public int maxLoad()Returns the maximum number of concurrently active intervals in the period. -
currentLoad
public int currentLoad()Returns the number of active intervals right now. -
toString
-