Class LocalFileUrlLoader

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

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

      Enum Constants 
      Enum Constant Description
    • 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 immediately
      <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 immediately
      Long deleteAll(UrlTopic topic) Delete all items with topic from the source
      • Methods inherited from class ai.platon.pulsar.common.collect.OneLoadExternalUrlLoader

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

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

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