Interface CrawlerMetrics
- All Superinterfaces:
AutoCloseable,Closeable,CrawlerMetricsMXBean
- All Known Implementing Classes:
CrawlerMetricsImpl
Interface used to access crawler metrics across the application.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidflush()Flushes the metrics.voidinit(CrawlerSession session) Methods inherited from interface com.norconex.crawler.core.metrics.CrawlerMetricsMXBean
getBaselineCount, getEventCounts, getProcessedCount, getProcessingCount, getQueuedCount
-
Method Details
-
init
-
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:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-