com.supermap.services.util.cache
Interface SimpleCacheHelper
-
- All Known Implementing Classes:
- SimpleCacheHelperImpl
public interface SimpleCacheHelper
-
-
Method Summary
Methods Modifier and Type Method and Description voidclearCache(java.lang.String mapName, Rectangle2D bounds)Clear the cache in specific areajava.lang.StringgetImageFullURL(MapParameter mapParam, ImageOutputOption outputOption)Get the tile full path based on map parameters and map output settings.int[]getImageIndexs(MapParameter mapParam)Get tile index valuejava.lang.StringgetImageRelativeURL(MapParameter mapParam, ImageOutputOption outputOption)Set the tile relative path based on map parameters and map output settings.
-
-
-
Method Detail
-
getImageRelativeURL
java.lang.String getImageRelativeURL(MapParameter mapParam, ImageOutputOption outputOption)
Set the tile relative path based on map parameters and map output settings.
- Parameters:
mapParam- map parametersoutputOption- output options- Returns:
- the tile relative path.
-
getImageFullURL
java.lang.String getImageFullURL(MapParameter mapParam, ImageOutputOption outputOption)
Get the tile full path based on map parameters and map output settings.
- Parameters:
mapParam- map parametersoutputOption- output options- Returns:
-
getImageIndexs
int[] getImageIndexs(MapParameter mapParam)
Get tile index value
- Parameters:
mapParam- map parameters- Returns:
-
clearCache
void clearCache(java.lang.String mapName, Rectangle2D bounds)Clear the cache in specific area
- Parameters:
mapName- the map namebounds- the specific range
-
-