Interface Cacheable


  • public interface Cacheable
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void markAsCached()
      Marks the instance as cached.
      boolean requiresRefresh()
      Instructs any component that would like to cache the object that in case it's already cached it should be refreshed inside the cache
    • Method Detail

      • requiresRefresh

        boolean requiresRefresh()
        Instructs any component that would like to cache the object that in case it's already cached it should be refreshed inside the cache
        Returns:
      • markAsCached

        void markAsCached()
        Marks the instance as cached. It should be done by the last cache in chain