Interface CrawlerMetrics

All Superinterfaces:
AutoCloseable, Closeable, CrawlerMetricsMXBean
All Known Implementing Classes:
CrawlerMetricsImpl

public interface CrawlerMetrics extends CrawlerMetricsMXBean, Closeable
Interface used to access crawler metrics across the application.
  • Method Details

    • init

      void init(CrawlerSession session)
    • flush

      void flush()
      Flushes the metrics. Implementation specific, but normally forces a commit of any buffered event to storage and/or the synchronization of metrics across nodes.
    • close

      void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable