-
public final class CollectorHelper
-
-
Constructor Summary
Constructors Constructor Description CollectorHelper(UrlFeeder feeder)
-
Method Summary
-
-
Constructor Detail
-
CollectorHelper
CollectorHelper(UrlFeeder feeder)
-
-
Method Detail
-
getCollectors
final List<PriorityDataCollector<UrlAware>> getCollectors(String name)
-
getCollectors
final List<PriorityDataCollector<UrlAware>> getCollectors(Iterable<String> names)
-
getCollectors
final List<PriorityDataCollector<UrlAware>> getCollectors(Regex regex)
-
getCollectorsLike
final List<PriorityDataCollector<UrlAware>> getCollectorsLike(String name)
-
containsLike
final Boolean containsLike(String name)
-
addDefaults
final Unit addDefaults()
-
add
final Unit add(PriorityDataCollector<UrlAware> collector)
-
addAll
final Unit addAll(Iterable<PriorityDataCollector<UrlAware>> collectors)
-
addUrlPoolCollector
final UrlCacheCollector addUrlPoolCollector(Integer priority, ExternalUrlLoader urlLoader)
TODO: rename to addUrlCacheCollector
-
addUrlPoolCollector
final UrlCacheCollector addUrlPoolCollector(String name, Integer priority, ExternalUrlLoader urlLoader)
TODO: rename to addUrlCacheCollector
-
addUrlPoolCollector
final UrlCacheCollector addUrlPoolCollector(Integer priority)
TODO: rename to addUrlCacheCollector
-
addUrlPoolCollector
final UrlCacheCollector addUrlPoolCollector(String name, Integer priority)
TODO: rename to addUrlCacheCollector
-
addQueueCollector
final QueueCollector addQueueCollector(String name, Integer priority, Queue<UrlAware> queue)
-
remove
final DataCollector<UrlAware> remove(String name)
-
removeAll
final Collection<DataCollector<UrlAware>> removeAll(Iterable<String> names)
-
removeAll
final Collection<DataCollector<UrlAware>> removeAll(Regex regex)
-
removeAll
final Collection<DataCollector<UrlAware>> removeAll(Collection<DataCollector<UrlAware>> collectors)
-
removeAllLike
final Collection<DataCollector<UrlAware>> removeAllLike(String name)
-
report
final Unit report(DataCollector<out UrlAware> collector, String message)
-
-
-
-