public class LocalTileStore
extends java.lang.Object
本地切片存储。
限定符和类型 | 字段和说明 |
---|---|
protected static int |
MAX_COMMIT |
构造器和说明 |
---|
LocalTileStore() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
appendTileVersionUpdate(java.lang.String tileVersionName, double[] scaleDenominators, double[] resolutions, Rectangle2D bounds) |
void |
commit() |
java.lang.String |
createNewVersion(java.lang.String parentVersion, java.lang.String versionDescription, VersionUpdate versionUpdate) |
void |
dispose() |
java.lang.String |
getLastTileVersion() |
TilesetDesc |
getTilesetDesc() |
boolean |
init(TileSourceInfo tileSourceInfo, MetaData metaData, boolean createTilesetIfNotExist) |
void |
storeTile(TileInfo<?> tile) |
void |
storeTiles(TileInfo<?>[] tiles) |
public void dispose()
public boolean init(TileSourceInfo tileSourceInfo, MetaData metaData, boolean createTilesetIfNotExist)
public void storeTile(TileInfo<?> tile) throws StoreTileFailedException
StoreTileFailedException
public void storeTiles(TileInfo<?>[] tiles) throws StoreTileFailedException
StoreTileFailedException
public java.lang.String createNewVersion(java.lang.String parentVersion, java.lang.String versionDescription, VersionUpdate versionUpdate)
public java.lang.String getLastTileVersion()
public boolean appendTileVersionUpdate(java.lang.String tileVersionName, double[] scaleDenominators, double[] resolutions, Rectangle2D bounds)
public void commit() throws StoreTileFailedException
StoreTileFailedException
public TilesetDesc getTilesetDesc()