Class SLA

java.lang.Object
io.hyperfoil.api.config.SLA
All Implemented Interfaces:
Serializable

public class SLA extends Object implements Serializable
See Also:
  • 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

      public Collection<SLA.PercentileLimit> percentileLimits()
    • validate

      public SLA.Failure validate(String phase, String metric, StatisticsSnapshot statistics)