com.supermap.services.components
Interface TileBuilder
-
- All Known Subinterfaces:
- MapTileBuilder, RealspaceTileBuilder
- All Known Implementing Classes:
- AbstractRealspaceTileBuilder, AbstractVectorAndUTFGridTilebuilder, DataPreProcessTileBuilder, DefaultRealspaceTileBuilder, DefaultTileBuilder, GDPTileBuilder, UTFGridTileBuilder, VectorTileBuilder
public interface TileBuilderTile generator. Responsibilities: a) generate map tile based on the tile job information; b) save the tiles in
TileStore; c) report the completion information of the tile task to the tile master node- Since:
- 6.1.3
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface and Description static interfaceTileBuilder.BuildTileProcessListenerTiling task execution status listener
-
Method Summary
Methods Modifier and Type Method and Description voidaddListener(TileBuilder.BuildTileProcessListener listener)Sets the tiling task execution status listenervoiddispose()Logs off the current tile generatorjava.lang.RunnablegetRunnable()Returns theRunnableinstance of the tile generator for commiting to the execution in the thread pool.voidinit()Initialize the tile generatorvoidsetFormat(OutputFormat pFormat)Sets the tile formatvoidsetKvStore(KeyValueStore kvStore)Sets the key value to the memory, the user saves the white chart informationvoidsetOriginalPoint(Point2D pOriginalPoint)Sets the origin point of the map tilevoidsetTask(TileTask task, TaskExecutingState executingState)Sets the tiling task information and task execution status.voidsetTileSize(int pImageSize)Sets the tile sizevoidsetTileStore(TileStore pTileStore)Sets the tiling memoryvoidsetTileVersion(java.lang.String tileVersion)Sets the tile version
-
-
-
Method Detail
-
setTask
void setTask(TileTask task, TaskExecutingState executingState)
Sets the tiling task information and task execution status.
- Parameters:
task-executingState-- Since:
- 6.1.3
-
setTileStore
void setTileStore(TileStore pTileStore)
Sets the tiling memory
- Parameters:
pTileStore-- Since:
- 6.1.3
-
setOriginalPoint
void setOriginalPoint(Point2D pOriginalPoint)
Sets the origin point of the map tile
- Parameters:
pOriginalPoint-- Since:
- 6.1.3
-
addListener
void addListener(TileBuilder.BuildTileProcessListener listener)
Sets the tiling task execution status listener
- Parameters:
listener-- Since:
- 6.1.3
-
setTileSize
void setTileSize(int pImageSize)
Sets the tile size
- Parameters:
pImageSize-- Since:
- 6.1.3
-
setTileVersion
void setTileVersion(java.lang.String tileVersion)
Sets the tile version
- Parameters:
tileVersion-- Since:
- 6.1.3
-
setKvStore
void setKvStore(KeyValueStore kvStore)
Sets the key value to the memory, the user saves the white chart information
- Parameters:
kvStore-- Since:
- 6.1.3
-
init
void init()
Initialize the tile generator
- Since:
- 6.1.3
-
dispose
void dispose()
Logs off the current tile generator
- Since:
- 6.1.3
-
getRunnable
java.lang.Runnable getRunnable()
Returns the
Runnableinstance of the tile generator for commiting to the execution in the thread pool.- Returns:
- Since:
- 6.1.3
-
setFormat
void setFormat(OutputFormat pFormat)
Sets the tile format
- Parameters:
pFormat-- Since:
- 6.1.3
-
-