Class TemplateCaching
- java.lang.Object
-
- org.exoplatform.commons.notification.cache.TemplateCaching
-
public class TemplateCaching extends Object
Created by The eXo Platform SAS Author : eXoPlatform thanhvc@exoplatform.com Aug 18, 2013
-
-
Constructor Summary
Constructors Constructor Description TemplateCaching(org.exoplatform.services.cache.CacheService cacheService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.exoplatform.commons.api.notification.template.ElementgetTemplateElement(ElementCacheKey cacheKey)booleanisCached(ElementCacheKey cacheKey)Determines is cached or notvoidput(ElementCacheKey cacheKey, org.exoplatform.commons.api.notification.template.Element value)Puts value in the caching
-
-
-
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-
-
-