Package io.hyperfoil.api.config
Class SLA
java.lang.Object
io.hyperfoil.api.config.SLA
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic interface -
Constructor Summary
ConstructorsConstructorDescriptionSLA(long window, double errorRatio, double invalidRatio, long meanResponseTime, double blockedRatio, Collection<SLA.PercentileLimit> limits) -
Method Summary
Modifier and TypeMethodDescriptiondoubledoubledoublelongvalidate(String phase, String metric, StatisticsSnapshot statistics) longwindow()
-
Constructor Details
-
SLA
public SLA(long window, double errorRatio, double invalidRatio, long meanResponseTime, double blockedRatio, Collection<SLA.PercentileLimit> limits)
-
-
Method Details
-
window
public long window() -
errorRatio
public double errorRatio() -
invalidRatio
public double invalidRatio() -
meanResponseTime
public long meanResponseTime() -
blockedRatio
public double blockedRatio() -
percentileLimits
-
validate
-