Package org.saidone.collectors
Interface NodeCollector
- All Known Implementing Classes:
AbstractNodeCollector
,NodeListCollector
,NodeTreeCollector
,QueryNodeCollector
public interface NodeCollector
Contract for components able to collect node identifiers and push them into
the processing queue.
-
Method Summary
Modifier and TypeMethodDescriptioncollect
(CollectorConfig config) Start collecting nodes asynchronously.void
collectNodes
(CollectorConfig config) Implementation specific node collection logic.
-
Method Details
-
collect
Start collecting nodes asynchronously.- Parameters:
config
- collector configuration- Returns:
- future representing the asynchronous task
-
collectNodes
Implementation specific node collection logic.- Parameters:
config
- collector configuration
-