Class AlertGruCacheService

  • 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 AlertGruCacheService
    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
      AlertGruTaskConfig getAlertGruConfigFromCache​(fr.paris.lutece.plugins.workflowcore.service.config.ITaskConfigService taskAlertGruConfigService, int nidTask)
      Gets the notify gru config from cache.
      static AlertGruCacheService getInstance()
      Gets the single instance of NotifyGruCacheService.
      java.lang.String getName()  
      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 AlertGruCacheService getInstance()
        Gets the single instance of NotifyGruCacheService.
        Returns:
        single instance of NotifyGruCacheService
      • getName

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