Class UrlExistsCache


  • public class UrlExistsCache
    extends tech.kronicle.utils.BaseFileCache
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.Boolean> getExists​(java.lang.String url)  
      void putExists​(java.lang.String url, boolean exists)  
      • Methods inherited from class tech.kronicle.utils.BaseFileCache

        getFileContent, putFileContent
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UrlExistsCache

        public UrlExistsCache​(tech.kronicle.utils.FileUtils fileUtils,
                              UrlExistsCacheConfig config)
                       throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getExists

        public java.util.Optional<java.lang.Boolean> getExists​(java.lang.String url)
      • putExists

        public void putExists​(java.lang.String url,
                              boolean exists)