public class LocalTileStore extends java.lang.Object implements TileStore
Local tile storage.
Modifier and Type | Field and Description |
---|---|
protected static int |
MAX_COMMIT |
Constructor and Description |
---|
LocalTileStore() |
Modifier and Type | Method and Description |
---|---|
boolean |
appendTileVersionUpdate(java.lang.String tileVersionName, double[] scaleDenominators, double[] resolutions, Rectangle2D bounds)
Adds the update information to the specified tile version
|
void |
commit()
Stores the tiles in a tile set.
|
java.lang.String |
createNewVersion(java.lang.String parentVersion, java.lang.String versionDescription, VersionUpdate versionUpdate)
Creates a new tile version.
|
void |
dispose()
Release the resource object.
|
java.lang.String |
getLastTileVersion()
Gets the latest tile version.
|
TilesetDesc |
getTilesetDesc()
Gets the tile description.
|
boolean |
init(TileSourceInfo tileSourceInfo, MetaData metaData, boolean createTilesetIfNotExist)
Initialization.
|
void |
storeTile( tile)
Stores tiles.
|
void |
storeTiles([] tiles)
Stores tiles.
|
public void dispose()
Disposable
Release the resource object.
dispose
in interface Disposable
public boolean init(TileSourceInfo tileSourceInfo, MetaData metaData, boolean createTilesetIfNotExist)
TileStore
Initialization.
public void storeTile( tile) throws StoreTileFailedException
TileStore
Stores tiles.
storeTile
in interface TileStore
StoreTileFailedException
public void storeTiles([] tiles) throws StoreTileFailedException
TileStore
Stores tiles.
storeTiles
in interface TileStore
StoreTileFailedException
public java.lang.String createNewVersion(java.lang.String parentVersion, java.lang.String versionDescription, VersionUpdate versionUpdate)
TileStore
Creates a new tile version.
createNewVersion
in interface TileStore
public java.lang.String getLastTileVersion()
TileStore
Gets the latest tile version.
getLastTileVersion
in interface TileStore
public boolean appendTileVersionUpdate(java.lang.String tileVersionName, double[] scaleDenominators, double[] resolutions, Rectangle2D bounds)
TileStore
Adds the update information to the specified tile version
appendTileVersionUpdate
in interface TileStore
public void commit() throws StoreTileFailedException
TileStore
Stores the tiles in a tile set.
commit
in interface TileStore
StoreTileFailedException
public TilesetDesc getTilesetDesc()
TileStore
Gets the tile description.
getTilesetDesc
in interface TileStore