Class AvailabilityConfiguration.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • maxAllowedFailuresPerInterval

        public AvailabilityConfiguration.Builder maxAllowedFailuresPerInterval​(Integer maxAllowedFailuresPerInterval)
        Maximum number of failed runs allowed in an interval.

        If an interval has more failed runs than the specified value, then the interval will be classified as UNAVAILABLE.

        Parameters:
        maxAllowedFailuresPerInterval - the value to set
        Returns:
        this builder
      • minAllowedRunsPerInterval

        public AvailabilityConfiguration.Builder minAllowedRunsPerInterval​(Integer minAllowedRunsPerInterval)
        Minimum number of runs allowed in an interval.

        If an interval has fewer runs than the specified value, then the interval will be classified as UNKNOWN and will be excluded from the availability calculations.

        Parameters:
        minAllowedRunsPerInterval - the value to set
        Returns:
        this builder