Class NotifyGruCacheService
java.lang.Object
fr.paris.lutece.portal.service.cache.AbstractCacheableService
fr.paris.lutece.plugins.workflow.modules.notifygru.service.cache.NotifyGruCacheService
- All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService,fr.paris.lutece.portal.service.util.LuteceService,Cloneable,net.sf.ehcache.event.CacheEventListener
public final class NotifyGruCacheService
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
The Class NotifyGruCacheService.
-
Method Summary
Modifier and TypeMethodDescriptionstatic NotifyGruCacheServiceGets the single instance of NotifyGruCacheService.getName()getNotifyGruConfigFromCache(fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService taskNotifyGruConfigService, int nidTask) Gets the notify gru config from cache.voidremoveGruConfigFromCache(int nidTask) Removes the gru config from cache.Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService
clone, dispose, enableCache, getCache, getCacheSize, getFromCache, getInfos, getKeys, getMaxElements, getMemorySize, getStatistics, getTimeToLive, initCache, initCache, isCacheEnable, notifyElementEvicted, notifyElementExpired, notifyElementPut, notifyElementRemoved, notifyElementUpdated, notifyRemoveAll, putInCache, removeKey, resetCache
-
Method Details
-
getInstance
Gets the single instance of NotifyGruCacheService.- Returns:
- single instance of NotifyGruCacheService
-
getName
-
getNotifyGruConfigFromCache
public TaskNotifyGruConfig getNotifyGruConfigFromCache(fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService taskNotifyGruConfigService, int nidTask) Gets the notify gru config from cache.- Parameters:
taskNotifyGruConfigService- the task notify gru config servicenidTask- the nid task- Returns:
- the notify gru config from cache
-
removeGruConfigFromCache
public void removeGruConfigFromCache(int nidTask) Removes the gru config from cache.- Parameters:
nidTask- the nid task
-