Class PomCache


  • public class PomCache
    extends tech.kronicle.utils.BaseFileCache
    • Constructor Summary

      Constructors 
      Constructor Description
      PomCache​(tech.kronicle.utils.FileUtils fileUtils, PomCacheConfig config)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.String> get​(java.lang.String url)  
      void put​(java.lang.String url, java.lang.String jsonContent)  
      • 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

      • PomCache

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

      • get

        public java.util.Optional<java.lang.String> get​(java.lang.String url)
      • put

        public void put​(java.lang.String url,
                        java.lang.String jsonContent)