public interface ImageTileCache<T extends TileSourceInfo>
| Modifier and Type | Method and Description | 
|---|---|
| void | cacheImage(MapParameter mapParam, ImageOutputOption outputOption, byte[] imageData)Caches a drawing request. | 
| void | clear(java.lang.String mapName, Rectangle2D bounds)Clears the specified map, specifies the range of the tile cache | 
| void | dispose()Releases cache-related resources | 
| Point2D | getCompatibleTileOrigin(MapParameter param, ImageOutputOption outputOption)Finds the origin of the slice that matches the current request. | 
| ImageTileInfo | getImageCache(MapParameter mapParameter, ImageOutputOption outputOption)Gets the picture cache for the given drawing request. | 
| TilesetInfo[] | getTilesetInfos(java.lang.String mapName)Gets all the tile information for a given map. | 
| boolean | isAvailable()Returns whether the cache is valid | 
void cacheImage(MapParameter mapParam, ImageOutputOption outputOption, byte[] imageData) throws MapException
Caches a drawing request.
mapParam -outputOption -imageData - Binary data of tile.MapExceptionImageTileInfo getImageCache(MapParameter mapParameter, ImageOutputOption outputOption) throws MapException
Gets the picture cache for the given drawing request.
mapParameter -outputOption -MapExceptionTilesetInfo[] getTilesetInfos(java.lang.String mapName)
mapName -
void clear(java.lang.String mapName,
         Rectangle2D bounds)
           throws MapException
Clears the specified map, specifies the range of the tile cache
mapName - Map namebounds - Range, if empty, clears allMapExceptionvoid dispose()
Releases cache-related resources
Point2D getCompatibleTileOrigin(MapParameter param, ImageOutputOption outputOption)
Finds the origin of the slice that matches the current request.
param -outputOption -boolean isAvailable()
Returns whether the cache is valid