Class NotifyGruCacheService
java.lang.Object
fr.paris.lutece.portal.service.cache.AbstractCacheableService<String,TaskNotifyGruConfig>
fr.paris.lutece.plugins.workflow.modules.notifygru.service.cache.NotifyGruCacheService
- All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService<String,,TaskNotifyGruConfig> fr.paris.lutece.portal.service.cache.Lutece107Cache<String,,TaskNotifyGruConfig> fr.paris.lutece.portal.service.util.LuteceService,Closeable,Serializable,AutoCloseable,Iterable<javax.cache.Cache.Entry<String,,TaskNotifyGruConfig>> javax.cache.Cache<String,TaskNotifyGruConfig>
@ApplicationScoped
public class NotifyGruCacheService
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService<String,TaskNotifyGruConfig>
The Class NotifyGruCacheService.
- See Also:
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()getNotifyGruConfigFromCache(fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService taskNotifyGruConfigService, int nidTask) Gets the notify gru config from cache.voidinit()voidremoveGruConfigFromCache(int nidTask) Removes the gru config from cache.Methods inherited from class fr.paris.lutece.portal.service.cache.AbstractCacheableService
clear, close, containsKey, deregisterCacheEntryListener, enableCache, get, getAll, getAndPut, getAndRemove, getAndReplace, getCache, getCacheManager, getCacheSize, getConfiguration, getFromCache, getInfos, getKeys, initCache, initCache, initCache, invoke, invokeAll, isCacheEnable, isClosed, isPreventGlobalReset, isPreventReset, isRequired, iterator, loadAll, put, putAll, putIfAbsent, putInCache, registerCacheEntryListener, remove, remove, removeAll, removeAll, removeKey, replace, replace, resetCache, setCache, unwrapMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface fr.paris.lutece.portal.service.cache.CacheableService
getMaxElements, getMemorySize, getTimeToLiveMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
NotifyGruCacheService
public NotifyGruCacheService()
-
-
Method Details
-
init
@PostConstruct public void init() -
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
-