Class GeoCodeCacheService

  • 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 GeoCodeCacheService
    extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object getFromCitiesCodesByDateInCache​(java.lang.String strKey)  
      java.lang.Object getFromCityCache​(java.lang.String strKey)  
      java.lang.Object getFromCountryCache​(java.lang.String strKey)  
      static GeoCodeCacheService getInstance()
      Get the instance of CalendarCacheService
      java.lang.String getName()
      Get the service name
      void putCitiesCodesByDateInCache​(java.lang.String strKey, java.lang.Object object)  
      void putCityInCache​(java.lang.String strKey, java.lang.Object object)  
      void putCountryInCache​(java.lang.String strKey, java.lang.Object object)  
      void removeCache​(java.lang.String strKey)
      Remove the cache by a key
      • 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 GeoCodeCacheService getInstance()
        Get the instance of CalendarCacheService
        Returns:
        an instance of CalendarCacheService
      • getName

        public java.lang.String getName()
        Get the service name
        Returns:
        the service name
      • putCityInCache

        public void putCityInCache​(java.lang.String strKey,
                                   java.lang.Object object)
      • putCitiesCodesByDateInCache

        public void putCitiesCodesByDateInCache​(java.lang.String strKey,
                                                java.lang.Object object)
      • putCountryInCache

        public void putCountryInCache​(java.lang.String strKey,
                                      java.lang.Object object)
      • getFromCityCache

        public java.lang.Object getFromCityCache​(java.lang.String strKey)
      • getFromCitiesCodesByDateInCache

        public java.lang.Object getFromCitiesCodesByDateInCache​(java.lang.String strKey)
      • getFromCountryCache

        public java.lang.Object getFromCountryCache​(java.lang.String strKey)
      • removeCache

        public void removeCache​(java.lang.String strKey)
        Remove the cache by a key
        Parameters:
        strKey - the cache key