Class OutlierDetection

    • Method Detail

      • baseEjectionDuration

        public final Duration baseEjectionDuration()

        The base amount of time for which a host is ejected.

        Returns:
        The base amount of time for which a host is ejected.
      • interval

        public final Duration interval()

        The time interval between ejection sweep analysis.

        Returns:
        The time interval between ejection sweep analysis.
      • maxEjectionPercent

        public final Integer maxEjectionPercent()

        Maximum percentage of hosts in load balancing pool for upstream service that can be ejected. Will eject at least one host regardless of the value.

        Returns:
        Maximum percentage of hosts in load balancing pool for upstream service that can be ejected. Will eject at least one host regardless of the value.
      • maxServerErrors

        public final Long maxServerErrors()

        Number of consecutive 5xx errors required for ejection.

        Returns:
        Number of consecutive 5xx errors required for ejection.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)