Class ErrorStatistics

    • Method Detail

      • throttleCount

        public final Long throttleCount()

        The number of requests that failed with a 429 throttling status code.

        Returns:
        The number of requests that failed with a 429 throttling status code.
      • otherCount

        public final Long otherCount()

        The number of requests that failed with untracked 4xx Client Error status codes.

        Returns:
        The number of requests that failed with untracked 4xx Client Error status codes.
      • totalCount

        public final Long totalCount()

        The total number of requests that failed with a 4xx Client Error status code.

        Returns:
        The total number of requests that failed with a 4xx Client Error status code.
      • 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)