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

    Nested classes/interfaces inherited from interface javax.cache.Cache

    javax.cache.Cache.Entry<K extends Object,V extends Object>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    getNotifyGruConfigFromCache(fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService taskNotifyGruConfigService, int nidTask)
    Gets the notify gru config from cache.
    void
     
    void
    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, unwrap

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface fr.paris.lutece.portal.service.cache.CacheableService

    getMaxElements, getMemorySize, getTimeToLive

    Methods inherited from interface java.lang.Iterable

    forEach, spliterator
  • Constructor Details

    • NotifyGruCacheService

      public NotifyGruCacheService()
  • Method Details

    • init

      @PostConstruct public void init()
    • getName

      public String 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 service
      nidTask - 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