public interface ICollectorLifeCycleListener
ICrawlerEventListener
. For more advanced
event monitoring, consider using JEF API listeners.ICollectorConfig.getSuiteLifeCycleListeners()
,
ICollectorConfig.getJobLifeCycleListeners()
,
ICollectorConfig.getJobErrorListeners()
,
ICrawlerConfig.getCrawlerListeners()
Modifier and Type | Method and Description |
---|---|
void |
onCollectorFinish(ICollector collector)
Invoked when the collector is finishing its execution.
|
void |
onCollectorStart(ICollector collector)
Invoked when the collector has been created and is just about to start.
|
void onCollectorStart(ICollector collector)
collector
- the collector being startedvoid onCollectorFinish(ICollector collector)
collector
- the collector finishing executionCopyright © 2014–2021 Norconex Inc.. All rights reserved.