Class GeoCodeCacheService

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

    public final class GeoCodeCacheService
    extends fr.paris.lutece.portal.service.cache.AbstractCacheableService
    • Method Detail

      • getInstance

        public static GeoCodeCacheService getInstance()
        Get the instance of CalendarCacheService
        Returns:
        an instance of CalendarCacheService
      • getName

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

        public void putCityInCache​(String strKey,
                                   Object object)
      • putCountryInCache

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

        public Object getFromCityCache​(String strKey)
      • getFromCountryCache

        public Object getFromCountryCache​(String strKey)
      • removeCache

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