com.supermap.services.components.impl
类 RemoteTileStore
- java.lang.Object
-
- com.supermap.services.components.impl.RemoteTileStore
-
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)
-
-
-
字段详细资料
-
MAX_COMMIT
protected static final int MAX_COMMIT
-
MAX_TILEBYTESIZE_IN_MEMORY
protected static final long MAX_TILEBYTESIZE_IN_MEMORY
-
-
方法详细资料
-
dispose
public void dispose()
-
init
public boolean init(TileSourceInfo tileSourceInfo, MetaData metaData, boolean createTilesetIfNotExist)
-
getMetaData
public MetaData getMetaData()
-
getToken
public java.lang.String getToken()
-
storeTile
public void storeTile(TileInfo<?> tile) throws StoreTileFailedException
- 抛出:
StoreTileFailedException
-
setTileCommiter
public void setTileCommiter(RemoteTileStore.TilesCommiter tileCommiter)
-
getTileByteSizeInMemory
protected long getTileByteSizeInMemory()
-
storeTiles
public void storeTiles(TileInfo<?>[] tiles) throws StoreTileFailedException
- 抛出:
StoreTileFailedException
-
createNewVersion
public java.lang.String createNewVersion(java.lang.String parentVersion, java.lang.String versionDescription, VersionUpdate versionUpdate)
-
getLastTileVersion
public java.lang.String getLastTileVersion()
-
appendTileVersionUpdate
public boolean appendTileVersionUpdate(java.lang.String tileVersionName, double[] scaleDenominators, double[] resolutions, Rectangle2D bounds)
-
getTilesetDesc
public TilesetDesc getTilesetDesc()
-
commit
public void commit() throws StoreTileFailedException
- 抛出:
StoreTileFailedException
-
-