public class CompressedCacheTileDataSource extends CacheTileDataSource
swigCMemOwn| Constructor and Description |
|---|
CompressedCacheTileDataSource(long cPtr,
boolean cMemoryOwn) |
CompressedCacheTileDataSource(TileDataSource dataSource)
Constructs a CompressedCacheTileDataSource object from tile data source.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear the cache.
|
void |
delete() |
protected void |
finalize() |
long |
getCapacity()
Returns the compressed tile cache capacity.
|
static long |
getCPtr(CompressedCacheTileDataSource obj) |
TileData |
loadTile(MapTile mapTile)
Loads the specified tile.
|
void |
setCapacity(long capacity)
Sets the cache capacity.
|
static CompressedCacheTileDataSource |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
protected void |
swigDirectorDisconnect() |
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
void |
swigReleaseOwnership() |
void |
swigTakeOwnership() |
getCPtr, notifyTilesChangedgetCPtr, getMaxZoom, getMinZoom, getProjectionpublic CompressedCacheTileDataSource(long cPtr,
boolean cMemoryOwn)
public CompressedCacheTileDataSource(TileDataSource dataSource)
dataSource - The datasource to be cached.public static long getCPtr(CompressedCacheTileDataSource obj)
protected void finalize()
finalize in class CacheTileDataSourcepublic void delete()
delete in class CacheTileDataSourceprotected void swigDirectorDisconnect()
swigDirectorDisconnect in class CacheTileDataSourcepublic void swigReleaseOwnership()
swigReleaseOwnership in class CacheTileDataSourcepublic void swigTakeOwnership()
swigTakeOwnership in class CacheTileDataSourcepublic static CompressedCacheTileDataSource swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public TileData loadTile(MapTile mapTile)
TileDataSourceloadTile in class TileDataSourcemapTile - The tile to load.public void clear()
CacheTileDataSourceclear in class CacheTileDataSourcepublic long getCapacity()
CacheTileDataSourcegetCapacity in class CacheTileDataSourcepublic void setCapacity(long capacity)
CacheTileDataSourcesetCapacity in class CacheTileDataSourcepublic java.lang.String swigGetClassName()
swigGetClassName in class CacheTileDataSourcepublic java.lang.Object swigGetDirectorObject()
swigGetDirectorObject in class CacheTileDataSource