Class NotifyGruCacheService

  • All Implemented Interfaces:
    fr.paris.lutece.portal.service.cache.CacheableService, fr.paris.lutece.portal.service.util.LuteceService, java.lang.Cloneable, net.sf.ehcache.event.CacheEventListener

    public final class NotifyGruCacheService
    extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
    The Class NotifyGruCacheService.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static NotifyGruCacheService getInstance()
      Gets the single instance of NotifyGruCacheService.
      java.lang.String getName()  
      TaskNotifyGruConfig getNotifyGruConfigFromCache​(fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService taskNotifyGruConfigService, int nidTask)
      Gets the notify gru config from cache.
      void removeGruConfigFromCache​(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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getInstance

        public static NotifyGruCacheService getInstance()
        Gets the single instance of NotifyGruCacheService.
        Returns:
        single instance of NotifyGruCacheService
      • getName

        public java.lang.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