Class CrawlerMetrics

    • Method Detail

      • crawlerName

        public final String crawlerName()

        The name of the crawler.

        Returns:
        The name of the crawler.
      • timeLeftSeconds

        public final Double timeLeftSeconds()

        The estimated time left to complete a running crawl.

        Returns:
        The estimated time left to complete a running crawl.
      • stillEstimating

        public final Boolean stillEstimating()

        True if the crawler is still estimating how long it will take to complete this run.

        Returns:
        True if the crawler is still estimating how long it will take to complete this run.
      • lastRuntimeSeconds

        public final Double lastRuntimeSeconds()

        The duration of the crawler's most recent run, in seconds.

        Returns:
        The duration of the crawler's most recent run, in seconds.
      • medianRuntimeSeconds

        public final Double medianRuntimeSeconds()

        The median duration of this crawler's runs, in seconds.

        Returns:
        The median duration of this crawler's runs, in seconds.
      • tablesCreated

        public final Integer tablesCreated()

        The number of tables created by this crawler.

        Returns:
        The number of tables created by this crawler.
      • tablesUpdated

        public final Integer tablesUpdated()

        The number of tables updated by this crawler.

        Returns:
        The number of tables updated by this crawler.
      • tablesDeleted

        public final Integer tablesDeleted()

        The number of tables deleted by this crawler.

        Returns:
        The number of tables deleted by this crawler.
      • 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)