Package 

Class LocalFileUrlLoader

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Path path
    • Method Summary

      Modifier and Type Method Description
      final Path getPath()
      Unit save(UrlAware url, UrlTopic topic) Save the url to the external repository
      Collection<UrlAware> loadToNow(Collection<UrlAware> sink, Integer size, UrlTopic topic) Load items from the source to the sink
      <T extends Any> Collection<T> loadToNow(Collection<T> sink, Integer size, UrlTopic topic, Function1<UrlAware, T> transformer) Load items from the source to the sink
      Long deleteAll(UrlTopic topic)
      • Methods inherited from class ai.platon.pulsar.common.collect.LocalFileUrlLoader

        countRemaining, countRemaining, estimateRemaining, estimateRemaining, loadTo, reset
      • Methods inherited from class ai.platon.pulsar.common.collect.OneLoadExternalUrlLoader

        hasMore, hasMore, loadTo, saveAll
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait