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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetFromCityCache(String strKey)ObjectgetFromCountryCache(String strKey)static GeoCodeCacheServicegetInstance()Get the instance of CalendarCacheServiceStringgetName()Get the service namevoidputCityInCache(String strKey, Object object)voidputCountryInCache(String strKey, Object object)voidremoveCache(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
-
-
-
-
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
-
removeCache
public void removeCache(String strKey)
Remove the cache by a key- Parameters:
strKey- the cache key
-
-