Class AlertGruCacheService
java.lang.Object
fr.paris.lutece.portal.service.cache.AbstractCacheableService<String,AlertGruTaskConfig>
fr.paris.lutece.plugins.workflow.modules.alertgru.service.cache.AlertGruCacheService
- All Implemented Interfaces:
fr.paris.lutece.portal.service.cache.CacheableService<String,,AlertGruTaskConfig> fr.paris.lutece.portal.service.cache.Lutece107Cache<String,,AlertGruTaskConfig> fr.paris.lutece.portal.service.util.LuteceService,Closeable,Serializable,AutoCloseable,Iterable<javax.cache.Cache.Entry<String,,AlertGruTaskConfig>> javax.cache.Cache<String,AlertGruTaskConfig>
@ApplicationScoped
public class AlertGruCacheService
extends fr.paris.lutece.portal.service.cache.AbstractCacheableService<String,AlertGruTaskConfig>
The Class NotifyGruCacheService.
- See Also:
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlertGruConfigFromCache(fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService taskAlertGruConfigService, int nidTask) Gets the notify gru config from cache.getName()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, 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
-
AlertGruCacheService
public AlertGruCacheService()
-
-
Method Details
-
init
@PostConstruct public void init() -
getName
-
getAlertGruConfigFromCache
public AlertGruTaskConfig getAlertGruConfigFromCache(fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService taskAlertGruConfigService, int nidTask) Gets the notify gru config from cache.- Parameters:
taskAlertGruConfigService- 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
-