Package ai.platon.pulsar.common.collect
Class AbstractExternalUrlLoader
-
- All Implemented Interfaces:
-
ai.platon.pulsar.common.collect.ExternalUrlLoader
public abstract class AbstractExternalUrlLoader implements ExternalUrlLoader
-
-
Constructor Summary
Constructors Constructor Description AbstractExternalUrlLoader()
-
Method Summary
Modifier and Type Method Description BooleanhasMore()If there are more items in the source BooleanhasMore(UrlTopic topic)If there are more items with topic in the source UnitsaveAll(Iterable<UrlAware> urls, UrlTopic topic)Save all the url to the external repository Collection<UrlAware>loadToNow(Collection<UrlAware> sink, Integer size, UrlTopic topic)Load items from the source to the sink immediately UnitloadTo(Collection<UrlAware> sink, Integer size, UrlTopic topic)Load items from the source to the sink safely -
Methods inherited from class ai.platon.pulsar.common.collect.ExternalUrlLoader
countRemaining, countRemaining, deleteAll, estimateRemaining, estimateRemaining, loadTo, loadToNow, reset, save -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-