Package org.saidone.collectors
Class AbstractNodeCollector
java.lang.Object
org.saidone.collectors.AbstractNodeCollector
- All Implemented Interfaces:
NodeCollector
- Direct Known Subclasses:
NodeListCollector,NodeTreeCollector,QueryNodeCollector
Base implementation of
NodeCollector providing queue injection and a
default asynchronous execution of NodeCollector.collectNodes(CollectorConfig).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollect(CollectorConfig config) Collects nodes asynchronously by delegating toNodeCollector.collectNodes(CollectorConfig).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.saidone.collectors.NodeCollector
collectNodes
-
Constructor Details
-
AbstractNodeCollector
public AbstractNodeCollector()
-
-
Method Details
-
collect
Collects nodes asynchronously by delegating toNodeCollector.collectNodes(CollectorConfig).- Specified by:
collectin interfaceNodeCollector- Parameters:
config- collector configuration- Returns:
- future representing the asynchronous task
-