Class TemplateCaching


  • public class TemplateCaching
    extends Object
    Created by The eXo Platform SAS Author : eXoPlatform thanhvc@exoplatform.com Aug 18, 2013
    • Constructor Detail

      • TemplateCaching

        public TemplateCaching​(org.exoplatform.services.cache.CacheService cacheService)
    • Method Detail

      • getTemplateElement

        public org.exoplatform.commons.api.notification.template.Element getTemplateElement​(ElementCacheKey cacheKey)
        Parameters:
        cacheKey -
        Returns:
      • isCached

        public boolean isCached​(ElementCacheKey cacheKey)
        Determines is cached or not
        Parameters:
        cacheKey -
        Returns:
      • put

        public void put​(ElementCacheKey cacheKey,
                        org.exoplatform.commons.api.notification.template.Element value)
        Puts value in the caching
        Parameters:
        cacheKey -
        value -