All Superinterfaces:
freemarker.cache.TemplateLoader
All Known Implementing Classes:
CmsTemplateLoader

public interface CachingTemplateLoader extends freemarker.cache.TemplateLoader
Implement this interface to provide a template loader with an internal cache.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    invalidate(String templateName)
    Invalidate the template with a specific name.
    void
    Invalidate all templates in the cache.

    Methods inherited from interface freemarker.cache.TemplateLoader

    closeTemplateSource, findTemplateSource, getLastModified, getReader
  • Method Details

    • invalidateAll

      void invalidateAll()
      Invalidate all templates in the cache.
    • invalidate

      void invalidate(String templateName)
      Invalidate the template with a specific name.
      Parameters:
      templateName - The name of the template to invalidate.