Class GeoCodeCacheService
java.lang.Object
fr.paris.lutece.portal.service.cache.AbstractCacheableService
fr.paris.lutece.plugins.geocodes.service.cache.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 Summary
Modifier and TypeMethodDescriptiongetFromCityCache(String strKey) getFromCountryCache(String strKey) static GeoCodeCacheServiceGet the instance of CalendarCacheServicegetName()Get the service namevoidputCitiesCodesByDateInCache(String strKey, Object object) voidputCityInCache(String strKey, Object object) voidputCountryInCache(String strKey, Object object) voidremoveCache(String strKey) Remove the cache by a keyMethods 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
-
Method Details
-
getInstance
Get the instance of CalendarCacheService- Returns:
- an instance of CalendarCacheService
-
getName
Get the service name- Returns:
- the service name
-
putCityInCache
-
putCitiesCodesByDateInCache
-
putCountryInCache
-
getFromCityCache
-
getFromCitiesCodesByDateInCache
-
getFromCountryCache
-
removeCache
Remove the cache by a key- Parameters:
strKey- the cache key
-