public class RemoteTileStore
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
protected static interface |
RemoteTileStore.TilesCommiter |
限定符和类型 | 字段和说明 |
---|---|
protected static int |
MAX_COMMIT |
protected static long |
MAX_TILEBYTESIZE_IN_MEMORY |
构造器和说明 |
---|
RemoteTileStore() |
限定符和类型 | 方法和说明 |
---|---|
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() |
MetaData |
getMetaData() |
protected long |
getTileByteSizeInMemory() |
TilesetDesc |
getTilesetDesc() |
java.lang.String |
getToken() |
boolean |
init(TileSourceInfo tileSourceInfo, MetaData metaData, boolean createTilesetIfNotExist) |
void |
setTileCommiter(RemoteTileStore.TilesCommiter tileCommiter) |
void |
storeTile(TileInfo<?> tile) |
void |
storeTiles(TileInfo<?>[] tiles) |
protected static final int MAX_COMMIT
protected static final long MAX_TILEBYTESIZE_IN_MEMORY
public void dispose()
public boolean init(TileSourceInfo tileSourceInfo, MetaData metaData, boolean createTilesetIfNotExist)
public MetaData getMetaData()
public java.lang.String getToken()
public void storeTile(TileInfo<?> tile) throws StoreTileFailedException
StoreTileFailedException
public void setTileCommiter(RemoteTileStore.TilesCommiter tileCommiter)
protected long getTileByteSizeInMemory()
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 TilesetDesc getTilesetDesc()
public void commit() throws StoreTileFailedException
StoreTileFailedException