Interface CrawlerMetrics.Builder

    • Method Detail

      • crawlerName

        CrawlerMetrics.Builder crawlerName​(String crawlerName)

        The name of the crawler.

        Parameters:
        crawlerName - The name of the crawler.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeLeftSeconds

        CrawlerMetrics.Builder timeLeftSeconds​(Double timeLeftSeconds)

        The estimated time left to complete a running crawl.

        Parameters:
        timeLeftSeconds - The estimated time left to complete a running crawl.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stillEstimating

        CrawlerMetrics.Builder stillEstimating​(Boolean stillEstimating)

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

        Parameters:
        stillEstimating - True if the crawler is still estimating how long it will take to complete this run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastRuntimeSeconds

        CrawlerMetrics.Builder lastRuntimeSeconds​(Double lastRuntimeSeconds)

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

        Parameters:
        lastRuntimeSeconds - The duration of the crawler's most recent run, in seconds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • medianRuntimeSeconds

        CrawlerMetrics.Builder medianRuntimeSeconds​(Double medianRuntimeSeconds)

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

        Parameters:
        medianRuntimeSeconds - The median duration of this crawler's runs, in seconds.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tablesCreated

        CrawlerMetrics.Builder tablesCreated​(Integer tablesCreated)

        The number of tables created by this crawler.

        Parameters:
        tablesCreated - The number of tables created by this crawler.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tablesUpdated

        CrawlerMetrics.Builder tablesUpdated​(Integer tablesUpdated)

        The number of tables updated by this crawler.

        Parameters:
        tablesUpdated - The number of tables updated by this crawler.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tablesDeleted

        CrawlerMetrics.Builder tablesDeleted​(Integer tablesDeleted)

        The number of tables deleted by this crawler.

        Parameters:
        tablesDeleted - The number of tables deleted by this crawler.
        Returns:
        Returns a reference to this object so that method calls can be chained together.