Class TemplateCaching
java.lang.Object
org.exoplatform.commons.notification.cache.TemplateCaching
Created by The eXo Platform SAS
Author : eXoPlatform
thanhvc@exoplatform.com
Aug 18, 2013
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.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
-
Constructor Details
-
TemplateCaching
public TemplateCaching(org.exoplatform.services.cache.CacheService cacheService)
-
-
Method Details
-
getTemplateElement
public org.exoplatform.commons.api.notification.template.Element getTemplateElement(ElementCacheKey cacheKey) - Parameters:
cacheKey-- Returns:
-
isCached
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-
-